How to Install cPanel and WHM in CentOS 8

How to Install cPanel and WHM in CentOS 8

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
  • Step 2 – Install Perl and CURL
  • Step 3 – Download the Latest Installer Script
  • Step 4 – Run Auto Installer Script
  • Step 5 – Complete the Installation Setup Wizard

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:

  • Now a screen will open on the browser. In which you have to login with root user.
  • Like login with root user. So the End User License Agreement and accept the terms have to be accepted.
  • To setup the Server Contact Email Address and Server Contact SMS Address.
  • Move to the Hostname section, enter a valid FQDN hostname and Resolver entries for server
  • Now select Main Network/Ethernet Device and IP available on that device will be considered as the main IP address of server
  • To set servers static IP address.
  • To set FTP configuration for server
  • To enable quotas and click on “Finish setup wizard”

Conclusion

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

Recommended CentOS Tutorials

AuthorAdmin

My name is Devendra Dode. I am a full-stack developer, entrepreneur, and owner of Tutsmake.com. I like writing tutorials and tips that can help other developers. I share tutorials of PHP, Python, Javascript, JQuery, Laravel, Livewire, Codeigniter, Node JS, Express JS, Vue JS, Angular JS, React Js, MySQL, MongoDB, REST APIs, Windows, Xampp, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL and Bootstrap from a starting stage. As well as demo example.

Leave a Reply

Your email address will not be published. Required fields are marked *