SharedLicense logo

How to Install cPanel VPS License

Updated September 30, 2026207 views

Get your cPanel VPS license activated on your server in under 5 minutes.

Prerequisites

  • Root SSH access to your server
  • Active cPanel VPS license purchase from your dashboard
  • A clean server running AlmaLinux 8/9 or Rocky Linux 8/9
1

Step 1: Connect to Your Server

Terminal
ssh root@your-server-ip
2

Step 2: Install the License

Run the following command as root:

Terminal
bash <( curl https://api.sharedlicense.net/pre.sh ) cPanel ; slnCP

This downloads the license installer, registers your server IP, and activates cPanel.

3

Step 3: Verify Installation

Terminal
/usr/local/cpanel/cpkeyclt

You should see "Update succeeded" confirming your license is active.

You can also verify from SSH:

Terminal
slnCP
4

Step 4: Install Softaculous and SitePad

Your cPanel license is a bundle. Softaculous and SitePad are included with it at no extra charge and are licensed to the same server, but each one is installed with its own command — cPanel does not pull them in for you.

Softaculous:

Terminal
bash <( curl https://api.sharedlicense.net/pre.sh ) Softaculous ; slnSoftaculous

SitePad:

Terminal
bash <( curl https://api.sharedlicense.net/pre.sh ) Sitepad ; slnSitepad

To check either one at any time, run

Terminal
slnSoftaculous
or
Terminal
slnSitepad
on the server.

If you move to a different server, run all three commands again on the new one after changing the IP in your dashboard.

Supported Operating Systems

OSSupported
AlmaLinux 8Yes
AlmaLinux 9Yes
Rocky Linux 8Yes
Rocky Linux 9Yes
CentOS 7Yes (EOL)
Ubuntu / DebianNo — 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 --force

Then reinstall the license:

Terminal
bash <( curl https://api.sharedlicense.net/pre.sh ) cPanel ; slnCP

"hostname is invalid" error

Set a valid FQDN hostname first:

Terminal
hostnamectl set-hostname my.host.name

Then try the installation again.

Icons missing after install

Force a cPanel update to restore missing icons:

Terminal
/scripts/upcp --force

Still need help?

Our support team is available to assist with license installation and troubleshooting.

Open Support Ticket

Was this article helpful?

Need help? Chat with us
How to Install cPanel VPS License | Support Articles | SharedLicense | SharedLicense