Introduction
cPanel & WHM is the most popular and most widely used Linux based web hosting control panel that offers graphical user interface to manage and host multiple websites on a single server. WHM is also known as a WebHost Manager provides an administrator and reseller level access to manage server administration and account management related settings. cPanel provides a user level access to manage their websites. The latest cPanel & WHM provide support for CentOS, Red Hat Enterprise Linux, and CloudLinux OS operating systems. cPanel / WHM is a commercial software application that requires a license to work.
Users can create and manage their email addresses in cPanel and control domains, databases, various PHP versions, and almost all web server aspects.
As a result, this powerful control panel makes it possible to manage all of your hosting services in one place. cPanel was developed by a company of the same name and in the Perl programming language. cPanel is a great, customizable control panel, which has done well over time and has a professional and active team behind it, which is a great help to cPanel users.
The cPanel’s reputation, popularity, and widespread use are due to its simple and understandable user interface. Everyone learns it quickly, and it is used more than ever to launch new websites in 2021.
Why CentOS 7 Recommended ?
As you may know, CentOS 8 is released, but there are some problems with installing cPanel. At the moment that I write this post, CentOS 7 is the most reliable and most compatible operating system to install cPanel. Here we provide cPanel/WHM VPS with CentOS with a reasonable price trial/licensed.
Minimum Resource Requirement To Install cPanel
- Operating system and version : CentOS 7
- Processor : 1.1 GHz
- RAM : Minimum: 1 GB ( Recommended: 2 GB )
- Disk Space : Minimum: 20 GB (Recommended: 40 GB)
- Architecture : 64-bit
- A valid cPanel license.
- Standard hostname (FQDN or Fully Qualified Domain Name)
- Perl
Note: We strongly recommend that you install at least 3 GB of RAM if you want to install the Clam AntiVirus Scanner (ClamAV) antivirus software.
Install cPanel
1. Ensure that your server has a standard hostname (FQDN or Fully Qualified Domain Name), otherwise set it as follows (in this example, cpanel is the hostname and server.linuxits.com is the domain name):
hostnamectl set-hostname server.linuxits.com
2. cPanel is written in Perl, ensure that you have Perl installed on your server, other wise run the command below to install it on your system.
yum install perl
3. You do not have to run any commands to install it, there is an auto installer script built for you. All you have to do is download the cPanel installer script with the cURL command, if you don’t have the cURL command installed, first install it like so.
yum install curl
4. To disable the Network Manager service, perform the following steps:
systemctl stop NetworkManager; systemctl disable NetworkManager
5. To install cPanel & WHM on your server, run the following command:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
6. After that you need to complete the installation wizard from its web based interface and you can access WHM with the following URL:
http://SERVER_IP:2087
Now login with user “root” and your password. There are some more clicks remaining to complete the cPanel installation.