In this tutorial, I will explain how to install cPanel on a new Linux server with CentOS installed on server.
Step 1:
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
Step 2:
Login to your server as root via SSH. Update CentOS
yum update
Step 3:
Install Apache
yum install httpd
Step 4:
Install perl
yum install perl
Step 5:
Make sure you have a valid hostname. Verify hostname on your VPS using command
hostname
Step 6:
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.
Step 7:
After cPanel installation has completed. Login to WHM using URL
server-ip:2087
Step 8:
Agree cPanel Agree license agreement and perform basic cPanel configuration.
Done!!!
You have successfully installed cPanel / WHM on your server.