How do I install cPanel on my VPS?

To install cPanel on your VPS requires an understanding the command line and its basic functions. On your VPS you can use the command line at the root level, providing complete and total access.

Furthermore, cPanel (WHM) is probably the most popular web hosting control panel software, and for good reason. Resellers can create neat packages with resource allocations and suspend users that have missed payment deadlines. cPanel itself lets users manage email, domains, security and much more.

Whilst very useful for installing applications like cPanel/WHM it’s also important to be cautious with its use, as incorrectly entering certain commands could cause data loss.

Install cPanel using PuTTY

  • Open PuTTY and enter the IP or Domain address, selecting SSH as connection type.
  • Enter your VPS username, When prompted either copy & paste or type the password for your VPS.
  • Head over to the official cPanel installation guide
  • Enter the command from the cPanel installation guide into PuTTY it will look similar to the command below:

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

  • Allow some time for the cPanel installer to run. [Message will appear in PuTTY upon completion]
  • Enter your VPS’ IP/Domain information into your browser’s address bar with either :2087 or /WHM at the end. [See example below]

https://dedivps-123123.dedicloud.co.uk/whm

https://dedivps-123123.dedicloud.co.uk:2087