Distro

RHEL tutorials

RHEL and Red Hat administration guides — subscription manager, dnf/yum, SELinux, and enterprise Linux configuration.

Red Hat Enterprise Linux (RHEL) is the commercial standard for regulated and large-scale Linux deployments, with subscription management, long support cycles, and vendor-backed security updates.

Guides here cover subscription-manager, kickstart and image builds, clustering, SELinux, and day-two operations on supported RHEL releases.

Browse tutorials when you need production-grade steps that assume Red Hat tooling, support contracts, or compliance requirements.

For free rebuilds with the same package stack, see Rocky Linux and AlmaLinux; for upstream previews, see Fedora.

151 articles

Red Hat Enterprise Linux tutorials illustration with subscription manager, kickstart, and SELinux
linux

AlmaLinux vs Rocky Linux: Which RHEL-Compatible Distro Should You Run?

Compare AlmaLinux 9/10 and Rocky Linux 9/10 for servers: RHEL compatibility models, support timelines, cPanel support, migration tools, hardware requirements, patching philosophy, and when to pick each Enterprise Linux …

Deepak Prasad10 min read
linux

AlmaLinux vs Ubuntu: Which Should You Run on a Server?

Compare AlmaLinux 9 and 10 with Ubuntu 24.04 LTS for servers: RHEL compatibility, dnf vs apt, SELinux vs AppArmor, support timelines, cPanel hosting, cloud images, migration from CentOS, and practical workload guidance.

Deepak Prasad10 min read
system-administration

Chrony Force Sync in Linux

Learn how to force Chrony time sync in Linux using chronyc makestep and chronyd -q. Also configure Chrony as an NTP client or server, check sync status, and understand server options like iburst, minpoll, and maxpoll.

Deepak Prasad8 min read
system-administration

Permanently disable transparent hugepages CentOS RHEL 8

Step-by-Step instructions to disable transparent hugepages GRUB2 using grub2-editenv in RHEL/CentOS 8 Linux. Check transparent huge pages status (AnonHugePages)

Deepak Prasad4 min read
linux

3 easy steps to configure hugepages in RHEL/CentOS 7/8

Step-by-Step Tutorial to configure hugepages in red hat and centos 7/8 linux using vm nr_hugepages in /etc/sysctl.conf. Also configure hugepages pool using hugeadm

Deepak Prasad6 min read
linux

Check if CPU supports HugePages & change default hugepage size in RHEL

Learn how to check if CPU supports HugePages with 2MB and 1GB Size in CentOS/RHEl 7 Linux and change default hugepage size permanently using GRUB2 with examples

Deepak Prasad4 min read
system-administration

How to check and disable transparent hugepages ( CentOS / RHEL 7 )

What are transparent huge pages? How to check turn off disable transparent hugepages in RHEL / CentOS 7 Linux for this session or permanently sysctl GRUB2?

Deepak Prasad4 min read
linux

How to Check Sudo Access for a User in Linux

Learn how to check sudo access in Linux. Check if you or another user has sudo privileges with sudo -l, test sudo access non-interactively in a bash script with sudo -n, and list all sudo users, with real tested output.

Deepak Prasad9 min read
linux

How to Add User to Sudo Group in Linux

Learn how to add a Linux user to the sudo group on Ubuntu and Debian, use the wheel group on RHEL-based systems, verify sudo access, and avoid confusing group-based sudo with custom sudoers file rules.

Omer Cakmak5 min read
linux

How to Check Linux Kernel Version from Command Line

Learn how to check Linux kernel version with tested uname, hostnamectl, procfs, journalctl, dmesg, boot image, dpkg, and apt commands, and understand the difference between the running kernel and installed kernel …

Deepak Prasad8 min read
linux

How to List Groups in Linux and Check User Group Membership

Learn how to list groups in Linux and check user group membership using commands like groups, id, getent, compgen, and /etc/group. This guide explains how to view all groups, list groups for a user, and display users …

Omer Cakmak12 min read
linux

Install YARN on Linux and Windows

Step by Step instructions to install yarn on Linux and WIndows. Installation on Ubuntu (Debian based) and Rocky Linux (Red hat based) and Windows.

Omer Cakmak7 min read
linux

Restart Crontab in Linux (Cron Reload & Restart Commands)

Learn when and how to restart crontab in Linux. See cron restart and reload commands for Ubuntu, Debian, RHEL, CentOS—and when a restart is NOT required.

Omer Cakmak4 min read
linux

Fix: cpio premature end of archive, List (lsinitrd) & Extract initramfs in RHEL Linux

How to extract/unpack/uncompress the contents of the initramfs image on RHEL7 and RHEL8? How do I list initramfs image file content? How do I modify the contents of an initrd or initramfs? How do I view an initrd or …

Deepak Prasad5 min read
linux

9 easy steps to create custom ISO RHEL/CentOS 8

To create custom ISO in RHEL/CentOS 8, create a kickstart file and modify the isolinux.cfg for boot menu. You can also minimze the package list and update repodata

Deepak Prasad15 min read
system-administration

Steps to configure NFS server & client in RHEL/CentOS 7/8

Step by Step NFS configuration Guide to install and configure NFS server in RHEL/CentOS 7/8. NFS server tutorial. How to check NFS status in Linux. setup nfs server

Deepak Prasad16 min read
linux

RPM Downgrade in Linux (yum, rpm, Install Specific Version + Rollback)

Learn how to downgrade RPM packages in Linux using yum and rpm. This guide covers installing specific versions, handling dependencies, forcing downgrade, rollback using yum history, and fixing common errors in CentOS, …

Deepak Prasad5 min read
linux

How to Mount USB Drive in Linux (Command Line Guide for Ubuntu, Debian, RHEL)

Learn how to mount a USB drive in Linux using command line tools. This step-by-step guide explains how to identify USB devices, install required filesystem packages, mount USB drives manually, verify mount points, …

Omer Cakmak12 min read
system-administration

Add Linux to Windows Domain using realm (CentOS/RHEL 7/8)

Step by step guide to add linux to windows Domain (Active Directory) using Realm tool on RHEL/CentOS 7/8. Join linux to windows domain. sssd active directory centos 7.

Deepak Prasad10 min read
system-administration

How to run script with systemd at shutdown only (not at reboot)

Steps to run script with systemd at shutdown only with examples in CentOS/RHEL 7/8 in Linux. Run script or command before shutdown but not at reboot

Deepak Prasad4 min read
system-administration

How to run script after N minutes of boot with systemd CentOS/RHEL 7/8

How to execute command or run script after N minutes of boot using systemd timer in CentOS/RHEL 7/8 Linux fix systemctl failing with unknown section 'Timer'

Deepak Prasad6 min read
system-administration

How to read user input during boot stage with systemd in Linux

Shell script to read user input during boot stage in Linux with a systemd service in CentOS/RHEL 7/8 Linux. Take input at the startup script in Linux.

Deepak Prasad4 min read
system-administration

How to run script on startup using systemd in Linux

How to execute and run script at startup after N minutes with delay using systemd and without cronjob in CentOS/RHEL 7/8 Linux before login prompt appears

Deepak Prasad6 min read
system-administration

How to run script with systemd right before shutdown in Linux

Steps to execute and run script with systemd right before shutdown in CentOS/RHEL 7/8 Linux. Use Before=shutdown.target to execute command before shutdown

Deepak Prasad3 min read
system-administration

How to run script with systemd right before login prompt in CentOS/RHEL 7/8

How to execute or run script with systemd right before login prompt in CentOS/RHEL 7/8 Linux between rc-local.service and getty.target in service unit file

Deepak Prasad5 min read
system-administration

How to run systemd service as specific user and group in Linux

run service as user linux. systemd allow user to start service. systemd start service as user on boot run systemd service as specific user group CentOS/RHEl 7/8

Deepak Prasad5 min read
system-administration

Understanding systemd-journald and how logging works with Journal in RHEL 7

An overview on systemd-journald service, how logging happens in RHEL 7 Linux with Journals and systemd-journald logrotate. Compare systemd-journald vs rsyslogd

Deepak Prasad7 min read
system-administration

How to mount filesystem without fstab using systemd (CentOS/RHEL 7/8)

We mount filesystem using /etc/fstab to make the changes persistent across reboot. Now there is another way to mount filesystem without fstab using systemd.

Deepak Prasad9 min read
system-administration

How to mount partition using systemd unit file?

Steps to automount file system using systemd automount unit file without /etc/fstab to automatically mount and unmount file system in rhel/centos 7 and 8

Deepak Prasad9 min read
system-administration

How to force file system check on boot: systemd-fsck RHEL/CentOS 7/8

Creating /forcefsck and /fsckoptions doesn't work on CentOS/RHEL 7/8 Linux How to perform force file system check on boot (next reboot) using systemd-fsck?

Deepak Prasad4 min read