cPanel & WHM is one of the most widely used control panels in the web hosting industry. Following CentOS, cPanel officially supports RHEL-based systems such as AlmaLinux. The following steps detail how to install cPanel on a clean AlmaLinux 9 system.
AlmaLinux 9 x86_64 (clean installation recommended)
SSH access with root privileges
Minimum 2 GB RAM (4 GB or more recommended)
At least 20 GB of free disk space
Static IP address
dnf update -y
hostnamectl set-hostname server.domain.com
The hostname must be in Fully Qualified Domain Name (FQDN) format.
dnf install perl -y
The cPanel installation script is written in Perl, making this package mandatory.
cPanel recommends avoiding NetworkManager for network configuration.
systemctl stop NetworkManager
systemctl disable NetworkManager
dnf remove NetworkManager firewalld -y
reboot
cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest
This process may take approximately 30–40 minutes depending on the server’s internet speed and hardware performance.
Once the installation is complete, WHM can be accessed via:
Login credentials:
Username: root
Password: your server's root password
After installation, a 15-day trial license is automatically activated.
A permanent license can be purchased through cPanel’s official sales channels or authorized partners.
Upon first login, WHM presents a setup wizard to guide through initial configurations.
You can click for our high-performance virtual server packages.