Installing CPanel & WHM optimized for CentOS/RHEL 6.X
Link: http://www.tecmint.com/install-cpanel-whm-in-rhel-centos
Need to install and configure yum, epel.repo and remi.repo
# vi cat /etc/selinux/config
SELINUX=disabled
# service iptables stop
Set the hostname with FQDN
#vi /etc/sysconfig/network
kmi.server.com
# yum update
Install depandences
# yum install -y bind-devel gd-devel gd-progs gdbm-devel glibc-static lcms python-tools quota-devel sharutils tclx
Download latest cPanel
# cd /home
# wget -N http://httpupdate.cpanel.net/latest
Installing cPanel
# sh ./latest
Sit back and relax (don't let your laptop sleep or hybernate your terminal window!), my installation
CentOS 6 Install time: cPanel install finished 4 hour!
When installation is complted you will get this message
After ensuring that your firewall allows access on port 2087, you can configure your server.
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): 1. Open your preferred browser
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): 2. Type https://192.168.72.155:2087 in the address bar
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): 3. Enter the word root in the Username text box
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): 4. Enter your root password in the Password text box
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): 5. Click the Login button
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): Visit http://go.cpanel.net/whminit for more information about first-time configuration of your server.
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): Visit http://support.cpanel.net or http://go.cpanel.net/whmfaq for additional support
2014-01-03 19:29:23 714 ( INFO):
2014-01-03 19:29:23 714 ( INFO): Thank you for installing cPanel & WHM 11.40!
point this URL on address BAR https://192.168.72.155:2087 in the address bar
To manage WHM consol follow the URL
---- DONE,Thanks ----