Hardware requirements :-
Processor 266 MHz
Memory 512 MB RAM (1 GB recommended when hosting many accounts)
Disk Space 10 GB hard disk
Supported Operating Systems (i386 and x86-64 only) :-
CentOS versions 4.x, 5.x, 6.x
Red Hat® Enterprise Linux® versions 4.x, 5.x, 6.x
CloudLinux 5.x
and then disable SELinux. Just type /etc/selinux/config and check the following values exist in the file:
SELINUX=disabled
SELINUXTYPE=targeted
STEP 1 :-
cd /home
wget http://layer1.cpanel.net/latest
The above command will download the installer or script in your home directory. Now lets run the installer or script:
STEP 2 :-
sh latest
The Step 2 will initiate the installation process which takes approximately 2-3 hours, depending on your server’s speed. Once it finished, you need to active your cPanel/WHM application:
STEP 3 :-
/usr/local/cpanel/cpkeyclt
and you are done! cPanel/WHM use the port 2086, so to access it just go to http://your-server-ip:2086/
I hope this was helpful to everyone who attempted for the first time to install cPanel/WHM.
Before installing make sure you
1.) Deactivate the firewall.
2.) Disable SELinux.