Rocky Linux vs RHEL: which server OS to pick
RHEL is a paid subscription with vendor support. Rocky Linux rebuilds the same code at no cost. What compatible really means, and which belongs on your VPS.
Filtering by topic #rocky-linux · clear
RHEL is a paid subscription with vendor support. Rocky Linux rebuilds the same code at no cost. What compatible really means, and which belongs on your VPS.
Read dnf updateinfo on Rocky or AlmaLinux, list only the security advisories, apply one advisory or one CVE fix, and know when the patch needs a reboot.
Test whether your VPS CPU is x86-64-v3, pick the right AlmaLinux 10 build and ELevate flavour, run leapp preupgrade and upgrade, and know what rollback means.
Move a CentOS Stream 8 or 9 server to Rocky Linux with migrate2rocky: the README warnings, snapshot first, what distro-sync keeps, and the checks after.
Change a Linux server's timezone with timedatectl on Ubuntu 24.04 and Rocky 9, see the one symlink it rewrites, and why cron and Docker may ignore it.
An update broke something on Rocky or AlmaLinux 9. Use dnf history to find the transaction, undo it, and pin the package so it cannot come back.
A dnf update leaves the old kernel and old libraries running on Rocky and Alma. Use needs-restarting to see what needs a reboot and what needs a restart.
The first hour on a Rocky Linux or AlmaLinux VPS: dnf updates, a wheel user, key only SSH, firewalld, dnf-automatic, and SELinux left enforcing.
Why dnf cannot find your package on Rocky Linux and AlmaLinux: what BaseOS, AppStream and CRB hold, how to add EPEL safely, and how to keep repos clean.
Rocky Linux and AlmaLinux already ship a full metrics stack. Start pmcd, find metrics with pminfo, watch them with pmrep, and cap pmlogger disk use.
Moving sshd to a new port on Rocky Linux or AlmaLinux needs firewalld, an SELinux port label and sshd_config. Do it in the order that keeps you logged in.
nginx returns 403 and the permissions look fine. Read the SELinux denial, fix the label with semanage and restorecon, and leave enforcing on.
Install Docker Engine on Rocky Linux or AlmaLinux with dnf, then fix what Ubuntu guides skip: podman owning the docker command and SELinux on bind mounts.
Open SSH, allow a web port, close one, and survive a reboot with firewalld on Rocky or AlmaLinux. Zones explained, plus the --permanent trap.
Configure dnf-automatic on Rocky Linux and AlmaLinux: security-only mode, the systemd timer, email alerts, and a reboot policy that avoids surprises.
The dnf command for every apt command you already know, on Rocky Linux, AlmaLinux and Fedora, plus the repository and rollback parts that do not map.
How Red Hat Linux split into Fedora and RHEL, why CentOS existed, what the 2020 CentOS Stream change broke, and where Rocky Linux and AlmaLinux came from.
Rocky Linux and AlmaLinux rebuild the same Red Hat sources. What differs is the compatibility promise, and whether older CPUs are still supported.
Ubuntu, Debian, Rocky, AlmaLinux, CentOS Stream or Fedora: choose by support lifetime, package age, RHEL compatibility and whose docs you follow.