How to Install cPanel on CentOS

This tutorial will cover the installation of cPanel on CentOS, which is a web application software package. cPanel makes it possible make it easy for a webmaster to set up a server with the website, email accounts, and DNS. It provides a graphical user interface to easily manage and host multiple websites on your VPS and dedicated servers. Let’s have a look at the tutorial for Installing cPanel on CentOS.

Install cPanel on CentOS

Step 1: At the very first you must be logged in via SSH as root user.

Step 2: Next step is Update CentOS

Before installing cPanel you need to update the server using this command. The updating process will take some minutes according to your network speed and the value of your resources. yum update

Step 3: Disable Network Manger (You must manually address any changes in the settings of the system’s network)

Network Manager service is used to connect computers; cPanel asks to remove this service or disable it when installing cPanel. follow the steps.

systemctl disable NetworkManager

service NetworkManager stop chkconfig NetworkManager off

Step 4: Now, the next step is you need to Reboot System, once you are done with it follow the procedure. Reboot

Step 5: You need to Install Cpanel with Trial License

Step 6: You can use this code to install WHM / cPanel. According to network speed and resources, the installation will take a few minutes, so be patient. Run the command below to install it.

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

i0.wp.com 

Once the installation of WHM is finished, reboot the server to apply kernel and software updates.

Step 7: WHM open Link

After the installation, you will get a link that will look like: IP address:2087. Now in any of your preferred browsers enter your login credentials and then everything is done.

Conclusion

Kudos!! you have successfully installed cPanel on CentOS. Hope your all queries are resolved with our tutorial guide. If you have any issues related to the installation or if you have any questions, feel free to reach out through the comment section.