What RHEL is: subscriptions, releases, related distributions
This lesson is open to everyone. The other lessons open with a package: sign in or sign up, then choose a package.
Key points
- RHEL is a commercial distribution: the code is open, but updates and support come with a subscription; there is a free subscription for developers.
- A major release is supported for ~10 years (RHEL 9: 2022–2032); minor releases (9.4, 9.5) come about every 6 months.
- Rocky Linux and AlmaLinux are free alternatives binary-compatible with RHEL; CentOS Stream is the testing ground for RHEL's next version, and Fedora is further ahead still.
- In the RHEL family the package manager is
dnf, the package format.rpm, the firewallfirewalld, and the security layer SELinux. - RHCSA and RHCE are among the best-known certifications for Linux admins; this course covers their topics.
Why Red Hat
In the Ubuntu course we learned the basics of Linux. In corporate environments — banks, mobile operators, oil and gas companies, government information systems — most servers run Red Hat Enterprise Linux (RHEL) or a compatible distribution. The reasons:
- Long support: a release gets updates for 10 years — critical systems do not need frequent upgrades.
- Certified software: vendors such as Oracle, SAP and VMware officially support their products on RHEL.
- Support service: when there is a problem, you can turn to Red Hat engineers.
- Security: SELinux is on by default, and there are tools for compliance with security standards (FIPS, STIG).
The subscription model
RHEL's source code is open, but access to the built packages, updates and support comes with a subscription.
| Subscription | For whom | Note |
|---|---|---|
| Red Hat Developer for Individuals | Learners, developers | Free, up to 16 systems |
| Standard / Premium | Companies | Differ in support response time |
| Cloud (AWS, Azure, GCP) | Cloud users | The price is included in the VM's hourly rate |
The free developer subscription is enough for learning: register at developers.redhat.com and download the ISO.
The release cycle
| Version | Released | End of support | Kernel |
|---|---|---|---|
| RHEL 8 | 2019 | 2029 | 4.18 |
| RHEL 9 | 2022 | 2032 | 5.14 |
| RHEL 10 | 2025 | 2035 | 6.12 |
RHEL does not change the kernel version during the whole cycle — RHEL 9 stays on 5.14.0-... to the end, and new features and security fixes are carried back to that version (backported). This is the philosophy that differs from Ubuntu: stability comes first.
In this course we use RHEL 9 — the most widespread version in workplaces today.
The RHEL family
| Distribution | What it is | When to choose it |
|---|---|---|
| Fedora | The newest technologies, ~13 months of support | Desktops, trying new things |
| CentOS Stream | An early version of RHEL's next minor release | Seeing in advance what is coming to RHEL |
| RHEL | Commercial, with a subscription | Production that needs support and certification |
| Rocky Linux, AlmaLinux | Binary-compatible with RHEL, free | A server that works like RHEL but without a subscription |
| Oracle Linux | Compatible with RHEL, Oracle's version | Environments with Oracle databases |
Everything you learn in this course works the same on Rocky and AlmaLinux. You can use one of them to build a lab at home.
Differences from Ubuntu
| Topic | Ubuntu | RHEL |
|---|---|---|
| Package manager | apt / .deb | dnf / .rpm |
| Admin group | sudo | wheel |
| Firewall | ufw | firewalld (firewall-cmd) |
| Mandatory access control | AppArmor | SELinux |
| Network configuration | netplan | NetworkManager (nmcli) |
| Default file system | ext4 | XFS |
| SSH service name | ssh | sshd |
| Web server package | apache2 | httpd |
| Service after installing a package | Usually starts automatically | Does not start — systemctl enable --now is needed |
The last line often confuses beginners: RHEL starts nothing without being asked; the admin decides everything explicitly.
Certifications
| Certification | Level | Topics |
|---|---|---|
| RHCSA (EX200) | System administrator | Users, permissions, SELinux, LVM, systemd, networking, firewalld, containers |
| RHCE (EX294) | Engineer | Automation with Ansible |
The exams are practical: you complete tasks on a real server, there are no multiple-choice questions. This course's units cover the RHCSA topics, and the DevOps unit introduces RHCE topics.
Lab: get to know the RHEL server
In this course every lesson ends with a lab. Do the labs in the Red Hat simulator or in your own virtual machine (Rocky/AlmaLinux 9 also works).
The lab environment: srv-web01 (10.20.0.15) and srv-db01 (10.20.0.20) — RHEL 9, client01 (10.20.0.50) — a user computer.
- On
srv-web01, check the distribution and version:
[ali@srv-web01 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux release 9.4 (Plow) [ali@srv-web01 ~]$ grep -E "^(NAME|VERSION_ID|ID_LIKE)" /etc/os-release NAME="Red Hat Enterprise Linux" VERSION_ID="9.4" ID_LIKE="fedora"
- Look at the kernel and hostname:
[ali@srv-web01 ~]$ uname -r 5.14.0-427.13.1.el9_4.x86_64 [ali@srv-web01 ~]$ hostnamectl | grep -E "Static hostname|Operating System|Kernel" Static hostname: srv-web01 Operating System: Red Hat Enterprise Linux 9.4 (Plow) Kernel: Linux 5.14.0-427.13.1.el9_4.x86_64
el9_4 in the kernel name means "Enterprise Linux 9.4".
- Check the admin group —
wheelinstead of Ubuntu'ssudo:
[ali@srv-web01 ~]$ id uid=1000(ali) gid=1000(ali) groups=1000(ali),10(wheel) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
The context= part is the SELinux context — we will study it in detail in unit 4.
Check: in the simulator, the "Get to know the RHEL server" task should turn green.
Check yourself
5 questions · answers are shown instantly · 3 correct answers complete the lesson
1What is the main difference between RHEL and Rocky Linux?
2Until when is RHEL 9 supported?
3Which group gives sudo rights on RHEL?
4On RHEL, what state is the service in after installing the httpd package?
systemctl enable --now.5What is CentOS Stream?
Comments
Sign in to comment.