Step 1: Obtain cPanel&WHM License. If you do not have a license for cPanel, you will need to obtain one for your IP address. You should acquire your license before you attempt to install cPanel. You can obtain a license from cPanel Store.

Step 2: Install cPanel&WHM

To begin your installation, simply paste the following command:

cd /home && curl -o latest -L && sh latest

If you are getting error where your hostname is not FQDN:

echo "" > /etc/hostname

After installation is complete, you will need to update local license file with command:


That’s it! Congratulations on installing cPanel on Linux! You may now use server root credentials to access WHM and proceed with the initial configuration.

Did this answer your question?