Sub topic 1
Plan the installation: distribution, release and target
Prerequisites
You should be comfortable with basic command-line work: cd, ls, and editing a file in a terminal editor. You should also know what an operating system, a disk, and an IP address are. You need a physical machine, a virtual machine, or a cloud console to install on.
Choose a distribution, release and target
A distribution (distro) is a Linux system packaged with an installer, a package manager, and default settings. Ubuntu Server and Debian use apt. Rocky Linux and AlmaLinux belong to the RHEL family and use dnf. Pick the family your team already runs, because package names and defaults differ between families.
A release is a specific version of a distribution. For servers, choose a long-term support (LTS) release, which receives security updates for several years. Write down the target before you start: hardware or VM, CPU architecture, disk size, and the network address you plan to use.
Download and verify the installation image
Download the ISO from the vendor and the published SHA256SUMS file. Then compare the checksum:
sha256sum -c SHA256SUMS --ignore-missingEach matching file prints OK. A FAILED line means the download is corrupt or altered, so download it again before you continue.
Boot the installer: UEFI versus BIOS
Newer machines use UEFI, a firmware standard that reads boot files from an EFI System Partition (ESP). Older machines use legacy BIOS. Check the firmware setup screen to see which mode your machine uses. A UEFI install needs a small FAT32 ESP. A BIOS install needs an MBR or a BIOS boot partition. A mismatch between the firmware mode and the installed layout produces a system that will not boot.
Partitioning, filesystems and swap
A partition is a fixed slice of a disk. A filesystem, such as ext4 or XFS, is the structure that stores files inside a partition. Swap is disk space the kernel uses as overflow memory. For a first install, accept the guided layout, and check that the ESP (UEFI) or BIOS boot partition exists.
Walking through the installer choices
Set the language, keyboard, and network. Choose a minimal server package set and enable the OpenSSH server so you can log in remotely. Create the first user, then add a proper admin user after the first boot.
First boot and first login
Remove the install media and boot from the disk. Log in as the user you created, then confirm you are on the right host before you change anything:
hostnamectl
ip -br addrExercise
A machine's firmware setup shows UEFI. Which partition must the disk layout include for the installer to boot it?
Show answer
An EFI System Partition (ESP), formatted as FAT32.