How to Install cPanel/WHM on CentOS 7?

Preparation for the installation

We need to disable the server’s firewall, SELinux, and the network manager before installing cPanel/WHM to centOS 

> Please stop the services using the below command

systemctl stop firewalld.service

> Please disable the server using the below command

systemctl disable firewalld.service

> Please stop the NetworkManager service using the below command

systemctl stop networkmanager

> Please disable NetworkManager

systemctl disable networkmanager

> Please disable SELinux by editing the following file

nano /etc/selinux/config

> Please changing the line SELINUX=enabled to SELINUX=disabled

> Please install the Perl

yum install perl -y

 

Install cPanel/WHM

> Please change the director to home

cd /home

> Please download the latest release of cPanel/WHM

curl -o latest -L https://securedownloads.cpanel.net/latest

> Please run the installation script

sh latest

 

 

 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create a Thumbnail Image Using Thumbnailer in cPanel?

Please note The images that you want to create thumbnails must have uploaded to your cPanel...

How to Suspend or Unsuspend cPanel Accounts?

How to Suspend cPanel Accounts > Please sign in to your WHM account > Please choose...

How to Add Addon Domains in cPanel?

> Please log in to your cPanel account > Please go to Addon Domains under Domains  >...

How to modify an Addon Domain Document Root in cPanel?

> Please click on Addon Domains in cPanel. > Please double-click on the pencil-like icon...

How to remove an Addon Domain?

> Please click on the Addon Domains icon in cPanel > Please scroll down the page and find...

Powered by WHMCompleteSolution