Obtain a cPanel / WHM license
If you do not already own a license for cPanel & WHM, you should obtain one for your IP address before attempting installation. To obtain a cPanel & WHM license, visit the cPanel Store.Note: The cPanel Store offers 15-day test licenses at no cost.
Connect to your server remotely via SSH
To connect to your server remotely via SSH, open the command line interface (using a terminal application).Run the command ssh root@$IP (where $IP represents your target server's IP address).
Enter your server's root password.
Install cPanel & WHM
Note: You must have Perl installed on your server before you can run the installation script for cPanel & WHM. You can install Perl using yum:yum install perl
To install cPanel & WHM, run these commands:
cd /home — Opens the /home directory.wget -N http://httpupdate.cpanel.net/latest — Fetches the latest installation files from cPanel's servers.
sh latest — Opens and executes the installation files.
If licensing fails (due to a strict firewall or modified IP), run the command /usr/local/cpanel/cpkeyclt to activate your cPanel & WHM license.
Note: During the cPanel & WHM installation process, Apache 2.2 and PHP 5.3 are installed by default. After this installation process is complete, you can customize your server's Apache and PHP configuration with WHM's EasyApache feature.
Installing cPanel DNSONLY
To install cPanel DNSONLY, run these commands:cd /home — Opens the /home directory.
wget -N http://httpupdate.cpanel.net/latest-dnsonly — Fetches the latest installation files from cPanel's servers.
sh latest-dnsonly — Opens and executes the installation files.
Getting started in WHM
To access the WHM interface enter https://$IP:2087 into your preferred web browser.$IP represents your server's IP address.
Enter root into the Name field.
Enter your root password into the Password field.
Click Log In.