Home CentOS/RHELHow to Install CentOS Stream 9: Complete Step-by-Step Guide

How to Install CentOS Stream 9: Complete Step-by-Step Guide

by Knowledge Base Linux
Install CentOS Stream 9 installation screen illustration on a monitor

CentOS Stream 9 is the continuously delivered distribution that tracks just ahead of Red Hat Enterprise Linux 9, which makes it an excellent free platform for servers, labs and development environments that mirror RHEL. If you want to install CentOS Stream 9 correctly the first time — with sane partitioning, a proper user account and working networking — this guide takes you from the ISO download to the first login.

We will cover how to install CentOS Stream 9 on a physical server or a virtual machine, explain every important installer screen, and finish with the first commands you should run after the reboot.

Prerequisites

  • A 64-bit machine or VM with at least 2 GB RAM (4 GB recommended) and 20 GB of disk space
  • A USB stick of 8 GB or larger for a physical install, or the ISO attached to your hypervisor
  • Internet access if you want updates during installation

Step 1: Download the ISO and Create Bootable Media

Download the latest CentOS Stream 9 ISO from the official CentOS download page. Choose the x86_64 DVD or boot ISO that matches your architecture. Verify the checksum before writing it:

sha256sum CentOS-Stream-9-latest-x86_64-boot.iso

Compare the output with the checksum published next to the download. On Linux, create the USB installer with:

sudo dd if=CentOS-Stream-9-latest-x86_64-boot.iso of=/dev/sdX bs=4M status=progress oflag=sync

Replace /dev/sdX with your USB device. On Windows, tools such as Rufus or balenaEtcher do the same job.

Step 2: Boot the Installer and Choose Your Language

Boot from the USB or ISO and select Install CentOS Stream 9 from the boot menu. After the graphical installer (Anaconda) starts, pick your language and keyboard layout, then continue to the Installation Summary screen. Every section marked with a warning icon must be completed before the Begin Installation button becomes active.

Step 3: Configure Installation Destination When You Install CentOS Stream 9

Open Installation Destination, select your target disk and choose a storage configuration:

  • Automatic — fine for VMs and test systems; creates LVM volumes for you
  • Custom — recommended for production servers where you want a separate /home, /var and swap

For most servers, automatic partitioning with LVM is a good starting point because volumes can be extended later without downtime. Confirm the changes and return to the summary screen.

Disk partitioning illustration for admins who install CentOS Stream 9

Step 4: Select Software and Configure the Network

Under Software Selection, choose Server or Minimal Install. Minimal is ideal for production servers because a smaller package set means a smaller attack surface; you can always add packages later with DNF.

Open Network & Host Name, switch the interface on, and set a clear hostname such as centos9-web-01. If your network requires a static address, configure it here under the IPv4 settings instead of fighting with it after installation.

Step 5: Create the Root Password and Your User Account

Set a strong root password, then create your daily user account and tick Make this user administrator so the account gets sudo (wheel) privileges. Avoid using root for everyday work — a named account gives you an audit trail of who did what.

Step 6: Begin Installation and Reboot

Click Begin Installation and wait for the packages to install. When the installer finishes, reboot and remove the installation media. Log in with the user you created and confirm the release:

cat /etc/centos-release
uname -r
ip a

Step 7: First Commands After You Install CentOS Stream 9

Update the system immediately, because the ISO always lags behind the repositories:

sudo dnf update -y
sudo systemctl enable --now firewalld
sudo firewall-cmd --list-services

From here the machine is ready for real work, such as installing a control panel or a web stack. If you run cPanel servers, our guide to installing WHM/cPanel on AlmaLinux shows the same RHEL-family workflow, and you can verify storage at any time with the commands in our article on how to check disk space in Linux.

Optional: Enable the CRB Repository and EPEL

Two extra repositories are worth knowing about right after you install CentOS Stream 9. The CRB (CodeReady Builder) repository ships with CentOS Stream and contains development libraries and additional packages that many third-party applications depend on:

sudo dnf config-manager --set-enabled crb

The EPEL repository, maintained by the Fedora project, adds thousands of community packages such as htop and extra monitoring tools:

sudo dnf install -y epel-release
sudo dnf makecache

Enable them only when you need them — fewer enabled repositories mean fewer surprises during updates — but for most general-purpose servers both are safe and extremely convenient.

Troubleshooting

The installer does not see my disk: on servers with hardware RAID, make sure the array is built in the controller BIOS, and check that the controller is supported by the RHEL 9 kernel — very old RAID cards lost support in RHEL 9.

No network after reboot: the interface may not be set to connect automatically. Run nmcli con show, then nmcli con mod "Wired connection 1" connection.autoconnect yes and reboot.

dnf is extremely slow: the boot ISO installs from network mirrors; a slow mirror makes updates crawl. Enable the fastest mirror logic in /etc/dnf/dnf.conf with fastestmirror=True.

Conclusion

You now know how to install CentOS Stream 9 from scratch: verified media, deliberate partitioning, a minimal software selection, working networking and a non-root admin account. Keep the system updated and CentOS Stream 9 will give you a stable, RHEL-compatible server platform for years.

You may also like

KbLinux

Typically replies within a day

Hello, Welcome to the site. Please click below button for chatting me through Telegram.