How to install cPanel & WHM

To install cPanel you will need a compatible operating system, we highly recommend using CentOS 7 for cPanel installations.

On a fresh install of CentOS 7, run the following commands.

yum update -y
yum -y install perl
hostname set-your-hostname
systemctl stop NetworkManager.service

systemctl disable NetworkManager.service
cd /home && curl -o latest -L && sh latest

It will take anything from 5 minutes to 1 hour to install cPanel on your server. Once the installation is complete you can access your WHM control panel by navigating to https://your-servers-ip:2087/

Install CSF Firewall

After your installation is complete, we recommend installing the CSF firewall using the commands below.

cd /usr/local/src/
tar -xzf csf.tgz
cd csf
*copy and paste the whole block above
Join the thousands of websites that trust Koerge.


Receive WordPress tips, tricks and news straight to your inbox every week.