Articles

How to Install cPanel and WHM in CentOS 8

By Rabins Sharma Lamichhane

October 04, 2022

Install cPanle and whm in centOS 8; Through this tutorial, we will learn how to install cPanel and whm in centos 8.

CPanel gives a reliable interface to any user. In which users get many features. And it is easy to understand and work with. And in WHM also the user gets root and reseller level access interface. In which the admin can manage anything very easily.

Cpanel and WHM are very easy to install and configure. In this tutorial, we will learn how to install and configure Cpanel and whm on centOS 8.

How to Install cPanel and WHM in CentOS 8

Follow the following steps to install cPanel and whm in centos 8:

Step 1 – Setup Hostname

First of all, open terminal and execute the following command on terminal to setup hostname with ip address or websites name:

hostnamectl set-hostname cpanel.tutsmake.cp

Step 2 – Install Perl and CURL

Now, execute the following command on terminal to install perl and CURL in centOS:

yum install perl yum install curl

Step 3 – Download the Latest Installer Script

Now, execute the following command on terminal to download latest installer script for cpanel in centOS:

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

Step 4 – Run Auto Installer Script

Execute the follwoing command on terminal to run auto installer script in centOS:

sh latest

Now, sit back and relax. And wait for the cPanel installer script to complete the installation.

Step 5 – Complete the Installation Setup Wizard

Now, we need to complete the installation wizard from its web based interface and we can access WHM with the following URL:

http://SERVER_IP:2087

Use the following steps to configure whm in centOS:

Conclusion

Through this tutorial, we have learned how to install cPanel and whm in centos 8.

Images mentioned above related to CentOS are either copyright property of respective image owners.

Share this: