How to Install WHM/cPanel on RHEL or CentOS VPS


To install cPanel, run the following commands while logged in to your VPS as the root user:

# yum install selinux coreutils binutils make dialog gcc gcc-* glib*

# yum install libexi* libjpe* libpng* gifl* freetype curl curl-* xmlrpc

# yum upgrade kernel*

# yum update 

# cd /home

# wget -N

# sh latest

Installation usually takes 1-2 hours, however on a low resource VPS it can take up to 10 hours. Once complete, the WHM Setup Wizard will be accessible at http://xx.xx.xx.xx:2087 (login with the root login for your VPS).

Need a cPanel licence? Contact our support team.

Run the following script to update your license key:

# /usr/local/cpanel/cpkeyclt


  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

Install nginx, MySQL, PHP (LEMP) stack on a CentOS 6 VPS

LEMP stack is a group of open source software to get web servers up and running. The acronym...

Install Softaculous on CentOS cPanel/WHM VPS

Overview   The following guide will show you how to install Softaculous on a CentOS...

How to Install OpenVPN on CentOS VPS

  OpenVPN is an open source virtual private network (VPN) software. Follow the steps below...

How to Install a Minecraft Server on a CentOS VPS

This tutorial will go over how to setup a minecraft server on a CentOS VPS. Bitronic Technologies...

Installing GNOME Desktop on CentOS

Installing GNOME Desktop on CentOS is faily straightforward. Most CentOS servers are run on CLI...