In this tutorial, I will explain how to install cPanel on a new Linux server with CentOS installed on server.
Before installing cPanel, make sure you have a cPanel license for your VPS. If you do not have cPanel license, you can get a free 15-days trail license. It will take hardly 1-minute to get a 15-days trail licence.
Get cPanel 15-Days Trail Licence
Login to your server as root via SSH. Update CentOS
yum install httpd
yum install perl
Make sure you have a valid hostname. Verify hostname on your VPS using command
In this step we will install cPanel. Run following commands
cd /home wget -N http://httpupdate.cpanel.net/latest sh latest
This can take about 30-45 minutes to complete. So, relax and get some snakes. tea.
After cPanel installation has completed. Login to WHM using URL
Agree cPanel Agree license agreement and perform basic cPanel configuration.
You have successfully installed cPanel / WHM on your server.