Installation and first login: hostnamectl, subscription-manager
Sign in to read this lesson
The work done in the first hour on a new RHEL server is the same everywhere: a sensible partition layout, hostname, subscription registration, updates and an admin user. In this lesson we go through the important screens of the Anaconda installer and a post-install checklist.
What you will learn
- The installer is Anaconda; for a server choose "Minimal Install" or "Server" — extra packages enlarge the attack surface.
- The default layout:
/boot(1 GB, xfs),/boot/efi, the rest in LVM (rhel-root,rhel-swap). sudo subscription-manager registerattaches the server to a Red Hat account, after which repositories open.hostnamectl set-hostname srv-web01.itnuvo.local— writing a full name (FQDN) is recommended.- The first-hour list: subscription →
dnf upgrade→ admin user (wheel) → SSH key → time (chrony) → check firewall and SELinux.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.