RHEL 8 Administrator Guide
RHEL 8 Administrator Guide
Table of Contents
1. Introduction to RHEL 8
2. Installation and Initial Configuration
3. System Management and Monitoring
4. User and Group Management
5. Package Management with DNF
6. Networking in RHEL 8
7. Storage and File System Management
8. Security and SELinux
9. Managing Services and Daemons
10. Virtualization
11. Advanced Topics
12. Troubleshooting and Maintenance
13. Best Practices for Administrators
1. Introduction to RHEL 8
Overview of RHEL 8 features
System requirements
Differences from RHEL 7
Subscription and licensing
2. Installation and Initial Configuration
Page 1
RHEL 8 Administrator Guide
2.1 Preparing for Installation
Hardware requirements
Downloading the ISO
Creating bootable media
2.2 Installation Process
Using Anaconda installer
Partitioning: LVM, standard partitions, and encryption
Choosing software packages
2.3 Post-Installation Tasks
Registering with Red Hat Subscription Manager
Updating the system using `dnf update`
Configuring system hostname and timezone
3. System Management and Monitoring
3.1 System Monitoring Tools
Using `top`, `htop`, and `iotop`
Viewing logs with `journalctl`
System performance analysis with `sar` and `vmstat`
3.2 Managing System Resources
Configuring CPU and memory limits
Tuning the system with `tuned`
Page 2
RHEL 8 Administrator Guide
4. User and Group Management
Adding, deleting, and modifying users and groups
Configuring password policies
Managing sudo permissions
Using `usermod`, `groupmod`, and `passwd`
5. Package Management with DNF
Overview of DNF package manager
Installing, updating, and removing packages
Configuring DNF repositories
Using modules and AppStreams
6. Networking in RHEL 8
6.1 Configuring Network Interfaces
Managing `nmcli` and `nmtui`
Static vs. dynamic IP configurations
6.2 Firewalld
Configuring zones and rules
Allowing and blocking services
6.3 Network Troubleshooting
Using `ping`, `traceroute`, and `tcpdump`
Page 3
RHEL 8 Administrator Guide
7. Storage and File System Management
7.1 Partitioning and Mounting
Working with `fdisk`, `parted`, and `lsblk`
Persistent mounts in `/etc/fstab`
7.2 File Systems
Creating and managing XFS and ext4 file systems
Resizing and repairing file systems
7.3 Logical Volume Management (LVM)
Creating and extending logical volumes
Managing volume groups and physical volumes
8. Security and SELinux
8.1 SELinux
Enabling, disabling, and configuring SELinux
Using `semanage` and `audit2allow`
8.2 Firewall and Port Security
Managing iptables and firewalld
Allowing specific ports and services
8.3 User Authentication
Configuring PAM
Page 4
RHEL 8 Administrator Guide
Enabling twofactor authentication
9. Managing Services and Daemons
Using `systemctl` to manage services
Configuring services to start at boot
Analyzing service logs with `journalctl`
10. Virtualization
Installing and configuring KVM
Managing virtual machines with `virtmanager` and `virsh`
Configuring storage and network for VMs
11. Advanced Topics
Setting up high availability with clustering
Page 5