How to Install cPanel Dedicated License
Updated April 4, 2026
Install your cPanel Dedicated license for bare-metal or high-resource servers.
Prerequisites
- Root SSH access to your dedicated server
- Active cPanel Dedicated license purchase from your dashboard
- AlmaLinux 8/9 or Rocky Linux 8/9
1
Step 1: Connect to Your Server
Terminal
ssh root@your-server-ip2
Step 2: Install the License
Run the following command as root:
Terminal
bash <( curl https://api.66license.com/pre.sh ) cPanel ; 66licCP3
Step 3: Verify Installation
Terminal
/usr/local/cpanel/cpkeycltYou should see "Update succeeded" confirming your license is active.
VPS vs Dedicated — Which Do I Need?
| Type | Use When |
|---|---|
| VPS | Your server is a virtual machine (VPS, cloud instance) |
| Dedicated | Your server is a physical bare-metal machine |
If you are unsure, check with your hosting provider whether your server is virtual or physical.
Supported Operating Systems
| OS | Supported |
|---|---|
| AlmaLinux 8 | Yes |
| AlmaLinux 9 | Yes |
| Rocky Linux 8 | Yes |
| Rocky Linux 9 | Yes |
| CentOS 7 | Yes (EOL) |
| Ubuntu / Debian | No — cPanel requires RHEL-based OS |
Troubleshooting
"Invalid license file" error
Run the following commands to update your system and reinstall:
Terminal
yum update -y --nobest
/scripts/upcp --forceThen reinstall the license:
Terminal
bash <( curl https://api.66license.com/pre.sh ) cPanel ; 66licCP"hostname is invalid" error
Set a valid FQDN hostname first:
Terminal
hostnamectl set-hostname my.host.nameThen try the installation again.
GPG keys error during cPanel install
Import the AlmaLinux GPG key:
Terminal
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux