How to install WHM cPanel on Centos

Before you configure your server, ensure that :
– Your firewall allows access on port 2087.
– Disable NetworkManager. because cPanel does not support NetworkManager enabled.

sudo -i
yum update -y
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
cd /home && curl -o latest -L && sh latest

It is recommend that you run the installation command within a Linux screen session. The Linux screen command allows you to create a shell session that will stay active through a network disruption.

  1. To determine whether your operating system contains screen and it exists in your path, run the which screen command. The system will return /usr/bin/screen if screen exists on your system and whether it exists in your path.
    • If your system does not contain screen, you can install it with the yum install screen command.
    • To run a screen session, enter the screen command. Then, run the installation command.
  2. If your session disconnects for some reason, log back in to your server and run the screen -r command. This will reconnect you to your screen session.

Please follow and like us:


Software Engineer

Leave a Reply

Your email address will not be published. Required fields are marked *