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


Was this answer helpful?

 Print this Article

Also Read

How to Setup Ruby on Rails on a CentOS or Fedora VPS

This tutorial will walk you through the setup of a basic Ruby on Rails environment, including:...

Setting Up a Full Webmin Sever on a CentOS VPS

This tutorial will cover the basic setup for a fully functioning web server using Webmin on a...

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...

Installing Linux Malware Detect on a VPS

This guide will walk you through installing LMD (Linux Malware Detect) on your VPS/Dedicated...

Install Softaculous on CentOS cPanel/WHM VPS

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