Install WHM/cPanel on a Dedicated Server

Prerequisites

  • OS: AlmaLinux 8/9 or CloudLinux (recommended)
  • Minimum RAM: 2 GB (4 GB+ recommended)
  • Disk: 20 GB free minimum
  • Root access via SSH
  • Active cPanel License (PlatiniumHost can provide it)

Step 1 — Connect to the server via SSH

Refer to Access via SSH if you haven't already.

Step 2 — Prepare the server

yum update -y
yum install -y curl wget perl

Step 3 — Run the cPanel installer

cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
sh latest
⏱ Installation Time: The installation can take between 30 and 90 minutes depending on server speed and connection.

Step 4 — Access WHM

Once installed, access WHM at:

https://IP-DE-TU-SERVIDOR:2087

Log in with user: root and your root password.

Step 5 — Initial WHM Configuration

  1. Accept the cPanel license agreement
  2. Configure nameservers
  3. Choose the mail server (Exim recommended)
  4. Configure the firewall
  5. Complete the setup wizard
✅ WHM installed. Now you can create hosting accounts for your clients from WHM → Create a new account.