Demo mode This site is not live. It is currently being tested and developed. Nothing on here represents an offer.
← Exit course IT-203 CompTIA Linux+ XK0-006 Prep: Linux Server Administration
Course progress, 0 of 14 parts done0%

Summary

Download as PDF

  • Two lineages: Debian → Ubuntu → Mint and Fedora → CentOS Stream → RHEL → Rocky/Alma. Same kernel, different conventions.
  • CentOS moved upstream in 2020, becoming a preview of RHEL rather than a copy. Rocky and AlmaLinux now do what CentOS used to.
  • Identical everywhere: kernel, shell, permissions, systemd, FHS, core utilities, filesystems, networking, applications.
  • Differs: .deb/apt against .rpm/dnf; AppArmor against SELinux; ufw against firewalld; ext4 against XFS; sudo group against wheel.
  • Debian-family packages start and enable services on install; RPM-family packages do not. Use systemctl enable --now.
  • Rocky runs firewalld active by default, Ubuntu does not. A listening service that cannot be reached is usually the firewall - prove it with ss -tulpn.
  • Translation: dpkg -S→rpm -qf · dpkg -L→rpm -ql · dpkg -l→rpm -qa · apt-file search→dnf provides. Read q as a query mode.
  • /etc/os-release is present on every modern Linux and is machine-readable. ID_LIKE names the family, which is what scripts should branch on.
  • Support windows: Ubuntu LTS 5 years, RHEL family 10 years, Fedora ~13 months. Long support means old software versions, which is what module streams exist to address.
  • Architectures: x86_64 dominant, AArch64 growing fast and often cheaper, RISC-V emerging. Check with uname -m.
  • Licensing: kernel is GPLv2, which is why source must be published - and why Rocky can exist. Open source is not the same as free of charge.
  • Display stack: X11/Wayland display server, display manager for login, window manager for windows. A server should have none - systemctl get-default returns multi-user.target.
  • Service names differ: sshd on RPM, ssh on Debian.