AlmaLinux 9 is one of the most popular free, enterprise-grade Linux distributions for servers, fully compatible with Red Hat Enterprise Linux (RHEL) 9. If you want a stable operating system with a long support lifecycle for your VPS or dedicated server, learning how to install AlmaLinux 9 correctly from the beginning will save you many hours of troubleshooting later. In this guide, we walk through the complete installation: downloading the ISO, creating bootable media, partitioning the disk, configuring users and finishing the first-boot setup.
Why Choose AlmaLinux 9? – How to Install AlmaLinux 9
AlmaLinux is a community-owned, 1:1 binary-compatible fork of RHEL, backed by the AlmaLinux OS Foundation. Version 9 receives security updates until 2032, uses the modern Linux kernel 5.14, and ships with updated toolchains such as Python 3.9, PHP 8.0 and MariaDB 10.5 through application streams. It is also the default choice for many hosting control panels, which makes it an excellent platform for web servers, database servers and virtualization hosts.
Prerequisites – How to Install AlmaLinux 9
- A VPS, dedicated server or virtual machine with at least 2 GB of RAM (4 GB recommended) and 20 GB of disk space.
- The AlmaLinux 9 ISO image (minimal or DVD edition).
- A USB drive of 8 GB or larger for physical machines, or access to your provider’s control panel to mount an ISO for a VPS.
- A stable internet connection for downloading packages during and after installation.
Step 1: Download the AlmaLinux 9 ISO
Download the latest point release from the official mirrors. On your local machine or directly on a Linux workstation, run:
wget https://repo.almalinux.org/almalinux/9/isos/x86_64/AlmaLinux-9-latest-x86_64-minimal.iso
The minimal ISO is ideal for servers because it installs only the core system; you add exactly the packages you need afterwards. The DVD ISO contains the full package set and suits offline installations. Always verify the checksum published on the download page before you install AlmaLinux 9 on production hardware.
Step 2: Create Bootable Media
For a physical server, write the ISO to a USB stick. On Linux, identify your USB device with lsblk and then write the image (replace /dev/sdX with your device):
sudo dd if=AlmaLinux-9-latest-x86_64-minimal.iso of=/dev/sdX bs=4M status=progress conv=fsync
For a VPS, most providers let you mount a custom ISO from their panel, or they already offer AlmaLinux 9 as a one-click template. If a template exists, you can skip to the first-boot steps below.

Step 3: Boot the Installer and Select Your Language
Boot the machine from the USB or ISO and choose Install AlmaLinux 9 from the GRUB menu. The graphical Anaconda installer starts. Select your language and keyboard layout, then click Continue to reach the Installation Summary screen. Items marked with a warning icon must be completed before you can begin.
Step 4: Configure the Disk When You Install AlmaLinux 9
Open Installation Destination, select your disk and choose a storage configuration:
- Automatic – Anaconda creates a sensible LVM layout. Good for most single-disk servers.
- Custom – Recommended for production: create a separate
/bootpartition (1 GB, ext4), a swap partition sized to your workload, and the root filesystem on LVM so volumes can grow later. If you are new to swap sizing, our guide on how to create swap in Linux explains the trade-offs.
Confirm the summary of changes and return to the main screen.
Step 5: Network, Hostname and User Settings
Open Network & Host Name, enable the Ethernet connection so the server receives an IP address (or configure a static address), and set a meaningful hostname such as server1.example.com. Next, open Root Password and set a strong password, or better, disable direct root login and create an administrative user under User Creation with sudo privileges. You can review how to manage users afterwards in our tutorial on changing a user password on AlmaLinux. Finally, choose Minimal Install as the software selection for a lean server base.
Step 6: Begin the Installation and Reboot
Click Begin Installation. Anaconda partitions the disk, installs the packages and sets up the bootloader. When it finishes, click Reboot System and remove the installation media so the server boots from disk.
Step 7: First Login and System Update
Log in at the console or over SSH, then apply all available updates and check the release:
sudo dnf update -y cat /etc/os-release uname -r
You should see AlmaLinux release 9.x and a 5.14 kernel. A reboot after the first update ensures the newest kernel is active.
Troubleshooting Common Installation Problems
The installer does not see the disk: check the virtualization storage controller (use virtio or AHCI) and confirm the ISO matches your CPU architecture. No network after boot: open the connection with nmcli connection up eth0 or set ONBOOT=yes in the interface profile. The server boots back into the installer: the ISO is still mounted or the USB is still attached — remove it and reset the boot order. More edge cases are documented in the official AlmaLinux wiki.
Conclusion
You now know how to install AlmaLinux 9 from ISO to first login: download and verify the image, prepare bootable media, partition with LVM, configure networking and users, and apply the first update. From here, the natural next steps are hardening SSH, enabling the firewall and installing your application stack — topics we cover in the other AlmaLinux guides on this site.