Install Cpanel on centos – step by step procedure

WHM/cPanel is one of the best control panels for web-hosting industry. Here I am discussing about the system/server requirements and the steps for installing cpanel on it.

Hardware Requirements.

Component	 Minimum Requirement
Processor	 266 MHz processor
Memory	         512 MB RAM (1 GB recommended when hosting many accounts)
Disk Space	 10GB hard disk

Compatible Software

Supported Virtual Environments [1]
KVM
Linux-VServer
Microsoft Server 2008 Hyper-V [2]
OpenVZ (stable releases only)
Oracle VM VirtualBox, VirtualBox OSE
Virtuozzo
VMware Server, VMware ESX Server
Xen, XenEnterprise, XenExpress, XenServer

Supported Operating Systems

(i386 and x86-64 ONLY)
CentOS versions 5.x, 6.x
Red Hat Enterprise Linux versions 5.x, 6.x
CloudLinux 5.x, 6.x [3]

How to install cPanel on CentOS
Follow the steps pasted below to install cpanel/WHM on your server which has CentOS as Operating System.

1. cd /home — Opens the directory /home.
2. wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers.
3. sh latest — Opens and runs the installation files.[Note: Better run this command under screen, because it will take some hours to complete the installation process.]
4. /usr/local/cpanel/cpkeyclt — Activates your license after installation.

Accessing cPanel and WHM
You can simply access your cpanel or WHM by browsing your server’s IP address followed by the corresponding port number

Port number for cPanel : 2082/2083(ssl)
Port number for WHM : 2086/2087(ssl)
http://IPAddress:port

That’s it.

Post navigation

Arunlal A

Engineer. Linux enthusiast. Traveller. DevOps learner and practitioner. I enjoy working with Linux, DevOps, automation, and technology while exploring new places along the way. I use this space to share my experiences, learnings, experiments, and things I discover along the journey. Whether you're a seasoned DevOps professional or just getting started, let's connect, learn, and grow together. Happy coding, automating, and deploying!

2 thoughts on “Install Cpanel on centos – step by step procedure”

Leave a Reply

Your email address will not be published. Required fields are marked *