This tutorial explains how to install cPanel WHM on your CentOS 6, 7 systems. Please review the prerequisites before installing cPanel WHM on your system. This will save you a lot of trouble.
- System Requirements here.
- Fresh installation of CentOS 6, 7.
- A FQDN as your hostname – tutorial here.
- Set a FQDN as hostname.
- Install cPanel WHM.
- Connect to your cPanel WHM.
1. Set a FQDN as hostname.
1.1. Firstly, you need to make sure you are using a fresh CentOS 6 or 7 installation to avoid any installation problems or package conflicts.
1.2. Then, set a Fully Qualified Domain Name (FQDN) as your hostname, i.e.
2. Install cPanel WHM.
Then, run the automated cPanel WHM installation script. Do not interrupt the installation while it is in progress. Otherwise you will have to start it all over again.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Note: Depending on the available resources for your system, the installation can take up to 90 minutes.
3. Connect to your cPanel WHM.
Finally, you will be able to log into your cPanel WHM after the installation is completed. A system reboot is not required. cPanel WHM installation comes with a default SSL certificate issued by cPanel so you can use HTTPS protocol when connecting to your cPanel services.
WHM login URL:
cPanel login URL:
Webmail login URL:
You have sucessfully installed cPanel WHM on your fresh CentOS 6, 7 system.