ServerGigabit Network

How to Install cPanel via Terminal? Step-by-step Guide

You are here:
Estimated reading time: < 1 min
How to Install cPanel?

1. Log in to your VPS as root

ssh root@your_server_ip

2. Set a Fully Qualified Hostname

hostnamectl set-hostname server.example.com

3. Update Your Server

dnf update -y
reboot

 Login again after reboot:

ssh root@your_server_ip

4. Disable NetworkManager (Recommended)

systemctl stop NetworkManager
systemctl disable NetworkManager

5. Download cPanel Installer

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

6. Run the Installer

sh latest

⚠️ This may take 30–60 minutes. Do not close SSH during installation.

7. Access WHM Panel (Web Interface)

Open browser and go to:

https://your_server_ip:2087

  • Login:

Username: root
Password: (your server root password)

8. Complete Initial Setup in WHM (Web steps)

– Accept license agreement
– Set contact email
– Configure networking and services
– Finish setup

9. Activate cPanel License (Web steps)

  • Enter your purchased license or use the 15-day trial.
Was this article helpful?
Dislike 0
Views: 5