How to install cPanel / WHM in CentOS

please follow instruction how to install cPanel on centOS

1. first login your server SSH root

2. then should run the yum command line :

yum install perl

3. now set your server hostname, follow the command line :

hostname  server.example.com

4. now install the cpanel following command line:

open home directory:

cd /home

5. download the latest version cpanel/whm following the command line:

wget -N http://httpupdate.cpanel.net/latest

6. install the downloaded latest version cpanel / whm following the command line:

sh latest

need time to complete the installation.
after completing the installation, go and access your whm control panel enter server ip with port 2087. such as https://serverIP:2087

now showing an SSL error, the insecure connection
click unsafe mode & access your server, username and root password

LEAVE A COMMENT