Sub topic 5
Walking Through the Installer Choices
This chapter assumes you can use a terminal, understand disks and network addresses, and know that Linux distributions use different package managers and defaults. The exact installer screens differ between Debian, Ubuntu, Rocky, Alma, Fedora, and cloud images. The decisions follow the same pattern: identify the machine, connect it to a network, create access, choose storage, and select only the software the server needs.
Choose the installation identity
Select the language, keyboard layout, and regional settings first. The language affects installer messages. The keyboard layout affects how passwords and commands are entered. Check the detected layout by typing characters such as @, /, and - before continuing.
Set a hostname if the installer asks for one. A hostname is the system's local name, such as web01. Use a short, meaningful name that is unique on your network. You can change it later, but setting it correctly avoids confusion in logs and shell prompts.
Choose the time zone carefully. System logs, scheduled tasks, certificates, and monitoring systems depend on accurate time. UTC is often a good choice for servers that operate across regions. Some organizations instead use the local time zone of the server's main operators.
Configure the network
Most installers can use DHCP, the protocol that automatically provides an IP address, gateway, and DNS server. DHCP is convenient for temporary or ordinary internal systems.
For a server that must keep the same address, use one of these approaches:
- Create a DHCP reservation in the network service.
- Configure a static address in the installer or after installation.
- Use the address assigned by a cloud provider.
A static address requires an address, network prefix, default gateway, and DNS servers. A wrong gateway can leave the server reachable only from its local network. A wrong DNS setting can make names such as package mirrors fail even when the network cable works.
Select storage and filesystems
Choose the correct installation disk by checking its size and model. Automatic partitioning is suitable for many single-purpose virtual machines. Manual partitioning gives more control over separate filesystems, encryption, and future expansion.
A filesystem is the structure Linux uses to store files. Ext4 is a common general-purpose choice. XFS is also common on RHEL-family systems. Swap is disk space that can hold inactive memory pages. It can help absorb memory pressure, but it does not replace sufficient RAM.
Keep the layout simple unless you have a specific requirement. Separate filesystems can limit damage when one area fills, but they also create sizing problems if a directory receives more data than expected.
> callout note > Before confirming partitioning, verify the disk name and size. Installation can erase every existing partition on the selected disk.
Create access and select software
Create a normal user during installation when possible. This user should later receive administrative access through sudo, a command that runs a permitted command with elevated privileges. Avoid using a shared account.
Select a minimal server installation unless you need a graphical desktop or a specific service immediately. Extra packages increase update work and the number of components that need security attention. Enable an SSH server only when remote administration requires it, and record the port if the installer lets you change it.
Review the final summary before starting. Confirm the target disk, boot mode, hostname, network method, user name, and package selection. After the first boot, verify the choices:
hostnamectl
ip -br addr
timedatectl statusExercise
Why should you check the target disk in the installer's final summary?
Show answer
Automatic partitioning can erase the selected disk, so checking its model and size helps prevent installing over the wrong system or data.