How to install and activate cPanel

In order to install cpanel on your VPS, you will need to log into your server as root first.

The installation of cPanel can take a long time and it is better if you install "screen". Depending on your operating system you can install screen running yum or apt-get (yum install screen or apt install screen).

Now you will want to download and install cPanel:

yum update
screen
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

If you get disconnected, you can ssh back into your server as root, and run:

screen -R

After everything is complete, and there are no errors, you should be able to access the WHM control panel by visiting https://your_ip:2086 or https://your_ip/whm

You can check if the license is active here.

If you encounter problems after installation, you can find the solution in the cPanel documentation troubleshoot here.