How to Install cPanel / WHM on Centos7 Server? | WHMCS Global Services

How to Install cPanel / WHM on Centos7 Server?

What is cPanel?

You can understand cPanel as a Linux based web hosting control panel with which you can attain a graphical interface as well as automation tools that are purely designed for simplifying a website or email hosting. It is the most reliable and perceptive commercial control panel for web hosting services. You can get it in a rich-featured form that is used by a powerful graphical user interface to manage entire shared, reseller and business hosting services.

Why cPanel is required?

We need cPanel simply due to the fact that it is the best web-based control panel in the market. No other web hosting management software can match its features and functionality. It is much safer and easy to use.

In this article, we will focus on how to install cPanel and WHM on CentOS 7 and let us have a glance at the installation requirements.

Please note:

Once you have installed cPanel/WHM, you cannot remove it from your system. For this, you need to reinstall your operating system to remove it.
cPanel is commercial software and of course, needs a license to work. However, you can get it at a 15-day trial and purchase the software later.

Requirements : 

  • Fresh installed Centos7 no any other control panel installed on it
  • Minimum of 2 GB RAM Required.
  • At least 25GB of free disk space
  • A valid cPanel license. If you have’t purchased yet cPanel license you can install it with 30 Days free trial.
  • Standard hostname (FQDN or Fully Qualified Domain Name)
  • Install Perl
  • Installed Curl latest version

Step 1) Type following command to install Perl

[root@qcprotal ~]# yum install perl

Step 2) Type following command to install Curl

[root@qcprotal ~]# yum install curl

Step 3) Now you need to set the hostname

[root@qcprotal ~]# hostname us1.myserver.com

Step 4)To disable Network Manager on Fedora or CentOS/RHEL 7 or later:

$ sudo systemctl stop NetworkManager.service
$ sudo systemctl disable NetworkManager.service

Step 5) Download cPanel setup

[root@qcprotal ~]# curl -o latest -L https://securedownloads.cpanel.net/latest

Step 6). Install cPanel

[root@qcprotal ~]# .sh latest

Your cPanel is installed you can access your WHM panel with the following link :

https://us1.myserver.com:2087
https://yourserverip:2087

Probably by now, you feel like a pro in installing cPanel/ WHM on the Centos7 server. Wasn’t it a simple and short process? We know the feeling when users think the task to be uphill and it turns out to be way too simple. We at WHMCS Global Services offer cPanel Server Management services to make your cPanel management way too easier for you. It includes initial server setups, installations, Linux support, Lightspeed setup, Nginx revers, customer support and a lot more. Click on the link to see what all we offer in our cPanel Server Management Services.