How to Install cPanel/WHM on CentOS 6/7 or CloudLinux Print

  • 32

If you want to install cPanel on Cloudlinux then please check our Cloudlinux installation tutorial or you can simply install cPanel on your CentOS server.

cPanel/WHM Installation

1. Install OS

2. Login with your root ID and Password

3. Change hostname permanantly using this following commands

$ hostname


$ nano /etc/hostname (Replace with your hostname)


$ nano /etc/sysconfig/network


$ nano /etc/hosts
$ reboot

4. Disable SELinux

# setenforce Permissive
# reboot

5. Now install cPanel/WHM using following commands

# yum install perl
# cd /home
# curl -o latest -L
# sh latest

6. Activate cPanel License

# /usr/local/cpanel/cpkeyclt

7. After Installation Login with your root and Password

Was this answer helpful?

« Back