In this tutorial, we will explain you how to install cPanel/WHM on your CentOS Server
A fresh and clean CentOS installation is needed with nothing else installed on the server.
Log your server by SSH
Install some basic packages
yum install wget screen -y
On CentOS7, remove “NetworkManager” package
yum remove NetworkManager -y
Start your installation of cPanel/WHM in “Screen”
Using the screen session allow you to disconnect
from the server and the process will continue to run.
To exit from a “screen” just type: CTRL +ad.
To return back in this “screen” just type: screen -x
screen cd /home wget httpupdate.cpanel.net/latest sh latesh
When completed, you can log your WHM interface with your root password.
If you have a firewall running on your server, make sure the ports 2087,2083 are allowed.
Those 2 ports are used to connect the WHM and cPanel interface.