cPanel is a graphical web-based control panel that helps you manage your websites and hosting account. Its very flexible to handle web based settings, server migration, upgrade  latest versions, websites backups and etc. Many amount of functions available in cPanel like,

  • Web account Create
  • Creating Databases
  • Managing Websites files
  • Create and manage Email accounts
  • Can easily start and stop services
  • Easily configure SSL/TLS for all server services and client domain

Note : Once you have installed cPanel & WHM on a server, there is no option to an Uninstaller.

Connecting to your server remotely via SSH,

Login into your server by SSH

ssh -p $port root@$ip
(Where $port: server port number,  $ip : Server IP Address).

Before install cPanel & WHM check your OS version and configuration.
 
#  cat /etc/redhat-release
CentOS release 6.5 (Final)

And you must have installed Perl on your server. So you can update server packages using YUM command,
 
# yum update

Download the cPanel installation latest script from below URL using wget command,
 
# cd /home

# wget -N http://httpupdate.cpanel.net/latest

 # sh latest &

[1] 842
 Verifying archive integrity... All good.
Uncompressing cPanel & WHM Installer.....
...
 Installer Version v00032 rd0a77335c9257e711a05151f8371e04f218507ca

Beginning main installation.
2014-05-04 03:44:25  433 ( INFO): cPanel install started at: Sun May  4 03:44:25 2014!
2014-05-04 03:44:25  434 ( INFO): This install will take 20-50 minutes depending on your hardware.
2014-05-04 03:44:25  435 ( INFO): Now is the time to go get another cup of coffee/jolt.
2014-05-04 03:44:25  436 ( INFO): The install will log to /var/log/cpanel-install.log.
....

Note : Where & Symbol represents to install cPanel in the background.

It would require some time installation to be finished, to determine whether the cPanel installation is running or not.
 
# ps aux | grep latest
root       842  0.0  0.0 106064  1512 pts/0    S    03:35   0:00 sh latest

Getting started in WHM:

To access the WHM interface on browser, assume that 192.168.0.1 is server IP Address.
 
http://192.168.0.1:8087/
http://server-host-name:2087/

Enter root into the Name field.
Enter your root password into the Password field.
Click Log In.

To access the cPanel interface on browser:
 
http://192.168.0.1:2083/
Enter your user name and password.

check cPanel version in :
 
# /usr/local/cpanel/cpanel -V
11.34.2 (build 8)

Cause you require to upgrade latest version in the future refer on previous post.

To Activate cPanel  License:

Run the below command to activate your cPanel license.
 
# /usr/local/cpanel/cpkeyclt