Installation of WHM/cPanel in CentOS 7

Installation of WHM/cPanel in CentOS 7

Do you want to set up CentOS 7 server? Co-join with the control panel for managing the graphical user interfaces web application and website at the same time. You might know more about WHM/cPanel! It is one of the best solutions for web hosting management. It gives you the perfect user-friendly mode for customizing and managing a website in a different aspect. Here, let us learn about the command-line for installing WHM/cPanel in CentOS 7.

install.jpg


Check the server have root SSH access before startup.

Below is the step for installation preparation:

Step 1:
Let us stop the firewall service first here. Use the command for stopping the firewall service:

Code:
systemctl stop firewalld.service
Step 2: In the second step, do server disable using the mentioned command below:

Code:
systemctl disable firewalld.service
Step 3: I Hope, you disabled the firewall in the first step so, do stop the service NetworkManager also:

Code:
systemctl stop networkmanager
Step 4: Now disable the NetworkManager by using the command mentioned below:

Code:
systemctl disable networkmanager
Step 5: Here, you need to edit the command for disabling the SELinux by using the command nano:

Code:
nano /etc/selinux/config
Check where the line SELINUX=enabled because you need to change it to SELINUX=disabled

Step 6:
Start installing the perl programming language using the command:

Code:
yum install perl –y
You have done with the installation preparation! Now, let’s start the installation of WHM/cPanel in CentOS 7.

Installation of WHM/cPanel in CentOS 7:

Step 1:
Use the command for changing the directory to /home/folder

Code:
cd /home
Step 2: You must have a recent version of WHM/cPanel so, use the command curl for downloading the recently released version:

Code:
curl -o latest -L https://securedownloads.cpanel.net/latest
Step 3: Use the below script for installation only if the downloaded is completed fully.

Code:
sh latest
That’s it! Installation of WHM/cPanel is over!
Author
kumkumsharma
Views
2,644
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top