Posts

Showing posts with the label RHEL-Based Distributions

How to Install Rocky Linux 9: Step-by-Step Guide for Beginners

Image
If you're new to Linux and looking for a stable, enterprise-grade operating system that's fully compatible with Red Hat Enterprise Linux (RHEL), Rocky Linux 9 is an excellent free, open-source choice. Maintained by a dedicated community, it's ideal for servers, desktops, and development environments. This Rocky Linux installation guide walks you through the process step by step, whether you're using a virtual machine (VM) or physical hardware. In this tutorial, we'll cover how to install Rocky Linux 9 using default settings for simplicity. The steps are similar for Rocky Linux 10, but we'll focus on version 9 (latest minor: 9.7). Rocky Linux is highly customizable, so you can tweak partitions, networking, or packages as needed. Always back up your data before starting any installation. Prerequisites Before diving into the Rocky Linux 9 installation guide, ensure you meet these minimum hardware requirements (recommended for smooth performance): CPU: 64-bit AMD/I...

How to Reset Root Password on Rocky Linux 9/10, RHEL 9, CentOS Stream: GRUB Guide

Image
Losing or forgetting the root password can lock you out of a Linux system entirely. This guide explains how to safely reset the root password on RHEL-based distributions (RHEL, CentOS, Rocky Linux) using the GRUB recovery method. The demonstration uses Rocky Linux, but the same steps apply to all RHEL-based distributions. Please Note:  This guide is intended for system owners or administrators with authorized access to the system. This method requires direct console access (physical or virtual) to the system. It cannot be performed over SSH. For encrypted systems, the LUKS passphrase is still required to unlock the disk before proceeding. Step 01:  Access GRUB Edit Mode Reboot the system (VM: power cycle; physical: shutdown -r if you have sudo). At the GRUB boot menu , press E    (or Shift during boot if hidden) and select the first entry (latest kernel) with arrows if needed. Step 02:  Modify Kernel Parameters Locate the kernel line that starts with linux or li...