What you will learn
Module 1
Learn one Linux, then find its other half
Two Families, One Linux
Job advertisements say "RHEL". Documentation says "CentOS". Your machine says "Rocky".
By the end of this module you can
- Trace how the two families relate
- Separate what is identical from what differs
- Translate commands between the families
- Choose a distribution by its release model
How the families formed
- 1993 Debian, a volunteer project
- 1994 Red Hat, a commercial company
- Until 2020 CentOS rebuilds RHEL for free
- 2020 CentOS Stream moves upstream of RHEL
- Then Rocky and AlmaLinux rebuild RHEL
Same Linux, different conventions
Debian family
- .deb, dpkg and apt
- AppArmor
- ufw
- Services start on install
RPM family
- .rpm, rpm and dnf
- SELinux
- firewalld
- Installed, not started
You run dnf install nginx on Rocky Linux. What state is nginx in?
- Installed but not started
- Running and enabled at boot
- Started, but not enabled at boot
Show the answer
RPM-family packages do not start services on install. Red Hat treats starting a network service as the administrator's decision, so you run systemctl enable --now nginx.
Now watch the video
Watch for the reasons given for choosing one server distribution over another.
Watch the video