First we need to make sure Perl is installed on the machine;

yum install perl

After installing perl we need to take one more preliminary step, adding a hostname.

Go ahead and setup your hostname;

hostname nlservers.yourdomains.com

To start off, go ahead and install screen and wget:

yum install screen wget

Once screen is installed, start a new session running:

screen

After opening screen, you can proceed to install cPanel with WHM or a DNS only version of cPanel.

  • Use this this command to install cPanel with WHM:
    wget -N http://httpupdate.cPanel.net/latest
  • Use this command to install the DNS only version of cPanel:
    wget -N http://httpupdate.cPanel.net/latest-dnsonly

 

With the requested package downloaded, we can go ahead and start the script running:

sh latest

The script, which may take one to two hours to complete will continue running while in the background.

Once cPanel finally installs, you can access the login by going to your ip address:2087 (eg. 112.34.45.678:2087) or domain (example.com:2087)

Simply login with root and password and Voila!

If you have any issue with Uncompressing Cpanel & WHM Installer.Extraction failed.

Simply run:

  • yum groupinstall base -y

 

If you need a simple installer, you can use our

cPanel Setup, Secure and Plugins Installer

http://underhost.com/dev/cpinstall/