Install cPanel / WHM on CentOS 7.7

Today we’ll install cPanel or WHM on CentOS 7.7

cPanel is the most popular control panel in the shared hosting space. It is so widely used that it is the defacto control panel in the industry, Plesk comes in close second place.

There are two parts to cPanel: cPanel and WHM.

cPanel

This is the interface your clients manage their website via. The design of cPanel is clean at the same time simple so even the most amateur of users feel comfortable. With cPanel your customers have access to sections like:

  • FTP: Users can create and delete FTP accounts as well as reset passwords as needed
  • Database: Users have the ability to create and delete MySQL databases as well as modify them via a GUI called PHPMyAdmin
  • File Manager: Along with the FTP accounts, users can modify their websites using a browser-based File Manager
  • eMail: Users can create and delete email accounts, log in via webmail and change passwords as needed.

These are just a few of the most common actions but cPanel lets your customers manage a lot more of the options of their hosting account.

WHM

WHM is what you as the owner or server admin of the server use to manage the overall server and client account creation. From creating user accounts to tweaking your email server, WHM is designed to keep actions short and simple.

Prerequisites

  • Only CentOS, CloudLinux and Redhat versions 6 and 7 are supported.
  • Hostname, a fully-qualified registered unused hostname is required
  • Static IP Address, cPanel cannot work on a dynamic IP address
  • Firewall, you must disable any firewall you have installed on the server
  • 2 GB of RAM is recommended
  • Minimum 20 GB but 40 GB of storage is recommended.

Free Trial

cPanel gives un-licensed IP addresses a 15-day free trial. To see if your server’s IP address is eligible, visit the following URL and enter your IP and hit Submit:

Installation

To start the installation process, first, make sure you are on a stable internet connection or have a screen session running to avoid disconnections which will break the installation process. Run the following command to start the installation:

That’s it, you’re done!