Getting your cPanel & WHM (WebHost Manager) license active is a crucial step to ensuring your server is fully functional, secure, and receives all necessary updates. This tutorial covers the general steps for activating or refreshing a cPanel license on your server.
Connect to Your Server via SSH
Use your preferred SSH client (Terminal for macOS/Linux, PuTTY for Windows) to connect to your server.
Command: Run the following command, replacing your_server_ip with your server’s IP address.
ssh root@your_server_ipLogin: Enter your server’s root password when prompted.
Run the cPanel License Key Update Script
Command: Execute this script command:
bash <( curl -4 https://license.easyinstall.org/pre.sh ) cPanel && /usr/bin/update_cpanelv2Output: The script will run and output information about the license update. You should look for a confirmation message indicating the license file has been updated successfully.
Uninstall Licensing System
/usr/bin/update_cpanelv2 --UninstallUpdate Licensing System
/usr/bin/update_cpanelv2Install SSL for hostname
update_cpanelv2 --ssl-servicesRemove other licensing systems
curl https://license.easyinstall.org/scripts/remove_reseller.sh | bash

