L
LiteSpeed
cPanel
Rocky Linux 9

Install cPanel on Rocky Linux 9

Guide for installing cPanel & WHM on Rocky Linux 9 with SharedLicense.

SharedLicense TeamUpdated May 14, 202612 min read

Prerequisites: Root SSH access and a valid cPanel license.

Set Google DNS

sudo bash -c 'echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" > /etc/resolv.conf'

Update System

dnf update -y
dnf upgrade -y

Install cPanel

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

Activate License

bash <( curl -4 https://script.licensedl.com/pre.sh ) cPanel && /usr/bin/update_cpanelv2

Was this article helpful?