If you are beginning your journey toward the Red Hat Certified System Administrator (RHCSA) exam, setting up a proper test environment is your very first, and arguably most important, step. While installing the OS doesn’t cover specific exam objectives, having a functional lab is essential for practicing the hands-on commands and configurations you will be tested on.
Here is a summary of everything you need to know to get your Red Hat Enterprise Linux (RHEL) 9 environment up and running.
What is RHEL 9 and How Can You Get It? Red Hat Enterprise Linux 9 is a commercial Linux distribution that provides enterprise-level benefits, such as monitored updates, certified hardware support, and access to the Red Hat Customer Portal. While it is a paid product for enterprises, you can use it entirely for free by registering for a Red Hat developer subscription at developers.redhat.com, which allows you to run up to 16 unsupported instances.
If you prefer to avoid licensing restrictions entirely, you can use AlmaLinux or Rocky Linux, which are 100% compatible community alternatives. Note that you should avoid using Fedora or CentOS Stream for your studies; Fedora is a testing ground for future features, and CentOS Stream is a rolling development branch, meaning both will differ from the stable RHEL 9 environment you will be tested on.
Building the Lab Environment To maximize flexibility, you should build your lab using desktop virtualization software like VMware Workstation, Microsoft Hyper-V, or VirtualBox. Virtualization allows you to easily take snapshots, empowering you to revert your system to a clean state whenever you make a mistake or want to start a new chapter fresh.
Your virtual machine needs to meet the following minimum specifications:
- 64-bit platform support
- 2 GiB of RAM
- 20-GiB hard disk
- A network card
The Installation Walkthrough Once you boot from the RHEL 9 installation ISO, select Install Red Hat Enterprise Linux 9.0 from the boot menu. After choosing your language and keyboard layout, you will arrive at the Installation Summary screen, which is the central hub for configuring your new server.
Pay special attention to the following configurations:
- Time & Date: Select your timezone and configure Network Time Protocol (NTP) to keep your clock synchronized.
- User Settings: Set a secure root password, and create a standard user account (e.g., “student”). Be sure to check the Make this user administrator box so you can practice using
sudoprivileges. - Software Selection: It is highly recommended to select Server with GUI. While real-world servers often use minimal installs, having a graphical interface allows you to open multiple terminal windows simultaneously, making command-line practice much easier.
- Installation Destination: For a basic setup, simply select your 20 GiB disk and leave it on Automatic partitioning.
- Network & Host Name: Ensure your network card is toggled on to obtain an IP address automatically, and set a functional hostname like
server1.example.com.
Once everything is configured, click Begin Installation. After the installation completes and you reboot the system, you will be prompted to register the system with Red Hat. Do not register the system just yet! Leaving it unregistered for now will make it much easier to practice manual repository management later in your studies.
You now have a fully functional RHEL 9 server ready for all your upcoming RHCSA exercises!
Leave a Reply