This is a powerful web hosting control panel solution for managing web applications on your VPS through your web browser of choice.
While cPanel manages individual hosting accounts, WHM is an administrative interface that provides control over the entire server and multiple cPanel accounts.
Pre-installation requirements:
A clean server installation of AlmaLinux9 64bit (you can easily perform a reinstallation of your server with our AlmaLinux9 template as described in our article here)
Root access to your VPS
Minimum 2GB RAM (4GB recommended)
Minimum 20GB disk space (40GB recommended)
The static IP address of your VPS
A cPanel license (cPanel is not free/open source! A license can ordered as an add-on here)
*Note: the cPanel licenses are issues per IP address
Networking requirements:
Your hostname must meet the following requirements:
Be a registered and fully-qualified domain name.
Does not match any of your server’s domains.
Be a maximum of 60 characters in length.
Resolves to a valid IPv4 or IPv6 address.
To check that in the server:
hostnamectl
or, to change it
hostnamectl set-hostname server.yourdomain.com
Edit the /etc/hosts file to match:
127.0.0.1 server1.yourdomain.com server1 localhost
Step-by-step installation (you will need to do this part while logged in as root)
- Set a password for root (this will be used by the default `root` user in cPanel&WHM)
- Update the server
dnf update -y(reboot server if kernel or core libraries were updated) - Download the latest version of cPanel & WHM:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest
- Install Perl: you can use either
dnf install perl -yoryum -y install perl - Disable SELinux (cPanel doesn't support SELinux in
enforcingmode)- Edit the
/etc/selinux/configfile and set the SELINUX parameter todisabled(reboot the server)
- Edit the
- Run the installer script
sh latest - Access your cPanel & WHM from your browser of choice:
https://your_server_IP:2087for WHMhttps://your_server_IP:2083for cPanel- For login use username:
rootalong with the server's configured root password - If you don't have a valid cPanel license issued for the IP address of the server, you will be prompted to get started with a free cPanel trial.
- For login use username:
