Knowledge Base

HomepageKnowledge BaseHow to Install WHM/cPanel on AlmaLinux (8, 9, ...

How to Install WHM/cPanel on AlmaLinux (8, 9, or 10)

You must install on a fresh AlmaLinux server

cPanel cannot be installed on a server with a control panel or custom packages already installed.

 You must have root access

cPanel requires full root privileges.

You must have a valid hostname

Example:

server.yourdomain.com

You must have at least one IPv4 address

cPanel does not support IPv6‑only servers.

Step 1: Update Your Server

bash

yum update -y

(Recommended before any installation.)

Step 2: Install Required Packages (Perl & Curl)

cPanel installer requires Perl and uses Curl to download the installer.

bash

yum install perl curl -y

Step 3: Set a Valid Hostname

bash

hostnamectl set-hostname server.yourdomain.com

Hostname must be FQDN and not match any hosted domain.

Step 4: Disable NetworkManager (Required)

cPanel is not compatible with NetworkManager.

bash

systemctl stop NetworkManager

systemctl disable NetworkManager

Step 5: Download & Run the cPanel Installer

This is the official installation command:

bash

cd /home

curl -o latest -L https://securedownloads.cpanel.net/latest

sh latest

This installs WHM + cPanel automatically.

Step 6: Access WHM After Installation

Open your browser and visit:

Code

https://YOUR-SERVER-IP:2087

Login using:

  • Username: root
  • Password: your root password

You can activate a 15‑day free trial license automatically.

Summary (What You Actually Need to Run)

bash

yum update -y

yum install perl curl -y

hostnamectl set-hostname server.yourdomain.com

systemctl stop NetworkManager

systemctl disable NetworkManager

cd /home

curl -o latest -L https://securedownloads.cpanel.net/latest

sh latest

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(344 times viewed / 0 people found it helpful)

Top