Domain 1Essential ToolsCORE

RHEL Installation & Core System Fundamentals

Essential Linux command-line tools, file system navigation, text manipulation with grep, file permissions, tar archiving, and remote SSH access.

Domain: Domain 1: Understand and use essential tools•Updated: 2026-08-29
#CLI#Essential Tools#File Operations#Permissions#Grep#Tar#SSH

RHEL Installation & Core System Fundamentals

This guide covers essential Red Hat Enterprise Linux (RHEL) installation concepts, core system architecture choices, and post-installation CLI tasks necessary for RHCSA preparation.


Theory Questions

1. Which Linux distribution should be avoided for RHCSA practice?

Avoid distributions outside the RHEL family, such as Ubuntu or Debian.

  • Command(s): cat /etc/os-release
  • Why: Ubuntu and Debian rely on apt/dpkg, have different system locations, and manage network settings differently than RHEL’s dnf/rpm and NetworkManager.
  • Gotchas: Practicing on Debian-based systems builds non-transferable muscle memory for RHEL-specific exam objectives.
  • Verify: Ensure ID=rhel, ID=rocky, or ID=almalinux appears in the release output.

2. What features are shared between RHEL and CentOS Stream?

Both share the core Enterprise Linux foundation.

  • Command(s): rpm -q systemd dnf firewalld
  • Why: Both distributions utilize identical core packages, including dnf for package management, systemd for service initialization, and firewalld for network security.
  • Gotchas: CentOS Stream acts as a continuous preview for upcoming RHEL minor releases. It is upstream of RHEL, not a bug-for-bug binary clone.

3. What are the reasons for installing a “Server with GUI”?

It provides visual management interfaces alongside the standard command-line tools.

  • Command(s): dnf group list
  • Why: The GUI includes local graphical tools and visual management dashboards, simplifying setup for administrators transitioning from desktop environments.
  • Gotchas: GUI installations consume higher memory and CPU resources while expanding the system attack surface. Production servers rarely use a full desktop environment.

4 & 18. What is the default file system in RHEL 9?

The default file system for root and local storage volumes is XFS.

  • Command(s): df -T /
  • Why: XFS is scalable and optimized for high-capacity storage performance under heavy workloads.
  • Gotchas: While /boot may be formatted as ext4 or xfs, primary LVM partitions default to xfs.
  • Verify: Check that xfs appears in the Type column of the output.

5. Which features are supported by Ext4 but missing in XFS?

Online file system shrinking is supported by Ext4, but not by XFS.

  • Command(s): man resize2fs vs. man xfs_growfs
  • Why: Ext4 file systems can be expanded or reduced using resize2fs. XFS supports only online extension with xfs_growfs.
  • Gotchas: Shrinking an XFS file system without reformatting and restoring data from backup is impossible.

6. Should Fedora be used as a practice platform for RHCSA?

Fedora should generally be avoided for strict RHCSA exam preparation.

  • Command(s): cat /etc/fedora-release
  • Why: Fedora serves as the rapid innovation upstream source. Features change quickly, which can cause discrepancies with RHEL exam targets.
  • Gotchas: Software versions, configuration paths, and default features change rapidly in Fedora compared to stable RHEL releases.

7. Which options are available—and unavailable—on the Installation Summary screen?

The installer focuses on core deployment choices rather than advanced configuration.

  • Command(s): N/A (Anaconda GUI)
  • Why:
    • Available: Storage partitioning, network settings, software selection, root password creation, and basic user creation.
    • Unavailable: Complex post-installation scripts, deep SELinux policy tuning, or custom systemd unit file definitions.
  • Gotchas: Advanced system configurations must be done after installation or automated using a Kickstart file.

8. Why does the installer halt after setting the root password?

The installation engine requires explicit confirmation to begin writing to disk.

  • Command(s): N/A (Anaconda GUI behavior)
  • Why: Setting the root password and creating users does not automatically launch package installation.
  • Gotchas: Operators must select Begin Installation to start disk partitioning and package placement.

9. How is the system language configured during and after installation?

Language options chosen during installation can be modified at any point on a running system.

  • Command(s): localectl status
  • Why: Locale parameters are initialized during setup and managed post-install via system administration tools.
  • Gotchas: Modifying /etc/locale.conf manually without using localectl may leave running services with un-updated environment variables.

10. Which storage volumes are created during a standard LVM-based installation?

The installer creates basic boot partitions alongside managed logical volumes.

  • Command(s): lsblk or lvs
  • Why: Default layouts dedicate a standard partition to /boot and place swap space, root (/), and optional /home storage into LVM Logical Volumes.
  • Gotchas: Bootloaders require un-encapsulated access; therefore, /boot is not placed within an LVM volume group by default.

11. What is a shell variable?

A shell variable is a temporary memory location used to hold strings, path locations, or numerical data.

  • Command(s): MY_VAR="test"; echo $MY_VAR
  • Why: Variables enable script reusability and dynamic configuration management in interactive CLI sessions.
  • Gotchas: Assigning variables requires syntax without spaces around the equals sign (VAR=value, not VAR = value).

12. Which distributions offer exam practice without a paid subscription?

Rocky Linux, AlmaLinux, or the free Red Hat Developer Subscription are suitable options.

  • Command(s): cat /etc/os-release
  • Why: Rocky Linux and AlmaLinux are built directly from RHEL source code, offering identical package versions and configuration paths.
  • Gotchas: Discontinued release trees like legacy CentOS Linux should be avoided to prevent syntax and repository mismatches.

13. What is the default network configuration if no changes are made during installation?

Network interfaces may remain disconnected or default to dynamic addressing (DHCP).

  • Command(s): nmcli connection show
  • Why: Installer network cards default to inactive states unless explicitly enabled. Active interfaces attempt auto-configuration via DHCP.
  • Gotchas: Failing to enable Connect automatically during installation leaves the network interface down upon system boot.

14. What is the minimum RAM requirement for a minimal system installation?

A text-mode minimal installation requires at least 1.5 GB of RAM.

  • Command(s): free -h
  • Why: The installation engine and system services require sufficient space in memory to execute reliably.
  • Gotchas: Desktop or GUI installations require a minimum of 2 GB to 4 GB of RAM to maintain performance.

Internet connectivity allows system registration and access to current package updates.

  • Command(s): subscription-manager register
  • Why: Active connections allow the installer to pull security updates directly from official Red Hat content networks.
  • Gotchas: Offline installations remain functional, but require manual system updates immediately after setup.

16. What alternative installation methods exist when an optical drive is unavailable?

Systems can boot from network sources or external flash storage.

  • Command(s): N/A (Hardware/Boot Menu)
  • Why: Modern systems boot via USB storage drives, PXE network services, or virtual ISO mounts within hypervisors.
  • Gotchas: Writing installation images to USB media via tools like dd will overwrite all existing data on the target device.

17. What are the benefits of installing a GUI on a server environment?

A GUI offers lower visual complexity for system administration tasks.

  • Command(s): systemctl get-default
  • Why: Graphical desktops simplify system navigation and provide direct access to visual management tools like the Cockpit web interface.
  • Gotchas: GUI installations consume extra system resources and increase potential security entry points. Command-line skills remain mandatory for the RHCSA.

19. Can RHEL be installed without an active internet connection?

Yes. Full installation media contains all packages needed for standalone deployment.

  • Command(s): N/A
  • Why: Official DVD media includes complete software groups for both minimal CLI and graphical server deployments.
  • Gotchas: Offline systems remain limited to base image versions until connected to a update repository.

20. What is the primary benefit of registering with Subscription Manager?

Registration unlocks full access to Red Hat’s package ecosystem.

  • Command(s): subscription-manager status
  • Why: It enables official software repositories needed for security updates, software group installation, and official support services.
  • Gotchas: Unregistered systems will raise repository URL errors when executing standard package commands like dnf install.

21. Which installation option is best suited for limited storage capacity?

The Minimal Install pattern provides a lightweight, functional environment.

  • Command(s): dnf group list
  • Why: It installs only essential operating system tools, preserving storage space.
  • Gotchas: Basic command utilities (such as vim, tar, or net-tools) may need to be installed manually as requirements expand.

Lab Tasks

Install and Configure a Second Server

Configure post-installation network defaults and persistent host parameters on a minimal system install.

Configuration Steps

# 1. Configure the persistent system hostname
hostnamectl set-hostname server2.example.com

# 2. Identify active ethernet network connections
CONN=$(nmcli -t -f NAME,TYPE connection show | grep -i ethernet | cut -d: -f1)

# 3. Apply auto-reconnect configurations and enable DHCP addressing
nmcli connection modify "$CONN" ipv4.method auto connection.autoconnect yes

# 4. Activate the updated network configuration
nmcli connection up "$CONN"
  • Why:

  • hostnamectl updates both kernel parameters and persistent host files (/etc/hostname).

  • nmcli sets the network card to obtain dynamic IP parameters and reconnect automatically at system startup.

  • Gotchas: Missing connection.autoconnect yes will cause loss of network connectivity following a system reboot.

Verification Procedures

Confirm system identification details and network accessibility using standard diagnostic utilities.

# Verify hostname persistence
hostnamectl status | grep "Static hostname"

# Verify active IP address assignments
ip a show $(nmcli -t -f DEVICE connection show --active | grep -v lo | head -n1)

# Validate external network routing
ping -c 3 8.8.8.8