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.
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:
Step 2: In the second step, do server disable using the mentioned command below:
Step 3: I Hope, you disabled the firewall in the first step so, do stop the service NetworkManager also:
Step 4: Now disable the NetworkManager by using the command mentioned below:
Step 5: Here, you need to edit the command for disabling the SELinux by using the command nano:
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:
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
Step 2: You must have a recent version of WHM/cPanel so, use the command curl for downloading the recently released version:
Step 3: Use the below script for installation only if the downloaded is completed fully.
That’s it! Installation of WHM/cPanel is over!
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
Code:
systemctl disable firewalld.service
Code:
systemctl stop networkmanager
Code:
systemctl disable networkmanager
Code:
nano /etc/selinux/config
Step 6: Start installing the perl programming language using the command:
Code:
yum install perl –y
Installation of WHM/cPanel in CentOS 7:
Step 1: Use the command for changing the directory to /home/folder
Code:
cd /home
Code:
curl -o latest -L https://securedownloads.cpanel.net/latest
Code:
sh latest