Our today topic How to Install cPanel and WHM on a CentOS 7 VPS – cPanel is a well-known, most dependable, and intuitive business control panel for web hosting companies. It’s wealthy in function and can be utilized by way of a strong graphical user interface to handle all shared, reseller, and enterprise hosting companies and extra.
It comes with a cPanel and Web Host Supervisor(WHM), which makes website hosting simpler for web admins:
WHM offers root and reseller level access interface, the place customers can handle settings associated with server administration and account administration.
Whereas cPanel affords a consumer-level access interface to handle a website hosting account on the server.
Options of cPanel/WHM
- Intuitive and highly effective GUI to control your server with WHM.
- Now supports EV Certificates.
- Supports API Authentication Tokens.
- Now presents AutoSSL supporting Proxy Subdomains.
- Lets you view SSL Status in cPanel.
- Supports operations corresponding to Backups, Migrations, and restorations in a very simple and clean method.
- Supports wonderful DNS and mail server management for the most important server and in addition to a client account.
- Supports administration (start/stop/enable/disable) of companies on the server.
- Enables you to configure SSL/TLS for all server companies and client domains.
- Easy integration with Phpmyadmin handles your MySQL databases from an internet browser.
- It helps to rebrand.
- Allows integration with WHMCS to automate billing administration and a lot extra.
- In this article, we are going to describe install cPanel and WHM on RHEL/CentOS 7 and canopy preliminary configurations to handle cPanel and WHM.
- A clear fresh minimal installation of CentOS 7 server.
- Minimal of 1 GB RAM (but 2 GB really useful).
- At least 20GB of free disk space (but 40 GB really useful).
- A legitimate cPanel license.
- Normal hostname (FQDN or Absolutely Certified Domain Name)
Earlier than we proceed to the setup part, you should notice these to necessary factors:
- After getting put in cPanel/WHM, it will possibly be eliminated out of your system. You’ll have to reinstall your working system to remove it.
- cPanel is an industrial software program and requires a license to work, nevertheless, there’s a 15-day trial (which is automatically activated as soon as you put in cPanel), you possibly can set up your software program using the trial then buy the software program later.
Installation of cPanel in CentOS 7
Setup:01: Make Sure 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 tutsfx.com is the domain name):
hostnamectl set-hostname cpanel.tutsfx.com
Setup:02: cPanel is written in Perl, guarantee that you’ve got Perl put in in your server, different smart run the command under to put in it in your system.
yum install perl
Setup:03: You wouldn’t have to run any commands to put in it, there may be an auto-installer script built for you. All it’s a must to do is obtain the cPanel installer script with the cURL command, when you don’t have the cURL command put in, first set up it like so.
yum install curl
Setup:04: Then download the latest installer script to the home directory.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Notice that you probably have logged within the server utilizing SSH, we strongly recommend working cPanel auto installer script in display mode, as a result of it takes 40-60 minutes to finish the set up relying on your server sources and Web connection speeds.
Disable the Network Manager service Error
Fix Network Manager Running Error[epcl_box type=”error”]
cPanel does not support the Network Manager service
Disable Network Manager with the following commands:
CentOS 6, CloudLinux 6, Red Hat Enterprise Linux 6 (RHEL), or Amazon Linux:
service NetworkManager stop chkconfig NetworkManager off
CentOS 7, CloudLinux 7, or RHEL 7:
systemctl stop NetworkManager systemctl disable NetworkManager
Run below command again
After successfully installed, start the wizard from its web-based interface and you can access WHM with the following URL: