L
LiteSpeed
cPanel
AlmaLinux 9

Install cPanel on AlmaLinux 9

Step-by-step guide to install cPanel & WHM on AlmaLinux 9 with our license system.

SharedLicense TeamUpdated May 15, 202612 min read

Prerequisites: Root SSH access and a valid cPanel license from SharedLicense.

Set Google DNS

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

Update System

yum update -y
yum upgrade -y

Install cPanel

mkdir -p /root/cpanel_profile/
echo 'mysql-version=10.11' > /root/cpanel_profile/cpanel.config
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

Install License

bash <( curl -4 https://script.licensedl.com/pre.sh ) cPanel && /usr/bin/update_cpanelv2
Do not log into WHM until license activation is complete.

Was this article helpful?