How to install cPanel on CentOS

Installation Notes

 A CentOS or Red Hat server that is going to have cPanel installed needs a minimal installation of the operating system. What we tell customers in our ticket system is that, ideally, the server needs to have only yum and SSH installed.

 The cPanel installer will install every service that cPanel configures or controls. Specifically, you need to make sure that the following yum groups are not installed before you install cPanel:

Code:

   DNS Name Server
   FTP Server
   GNOME Desktop Environment
   GNOME Software Development
   Horde
   Java
   Java Development
   KDE (K Desktop Environment)
   KDE Software Development
   Mail Server
   Mono
   MySQL Database
   Ruby
   Virtualization
   Web Server
   Windows File Server
   X Software Development
   X Window System

 Remove all of these groups before you start to install cPanel. Each of these groups has at least some possibility of interfering with cPanel. The cPanel installer will install literally everything that cPanel needs, except for SSH and yum. SSH and yum need to be working before you start the cPanel installation.

 Also, make sure that the server has a fully-qualified hostname that is properly set before you start the cPanel installation. localhost, or simply a domain, will not work. The hostname must be fully-qualified, in the format host.domain.tld. mydomain.com is not valid, but server.mydomain.com is. Also, do not begin the hostname with www. It is important to set the hostname before installing cPanel, or there will be problems that will need to be fixed after the installation.

To begin your installation, use the following commands:

Code:

   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.
   4. /usr/local/cpanel/cpkeyclt — Activates your license after installation.


Quick Start Installation Guide

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to Move Accounts From One cPanel Server To Another ?

  This tutorial explains a simple, straightforward method for migrating cPanel accounts from...

CentOS 6.3 on Microsoft Hyper-V Server with Linux Integration Services 3.4

Step by Step install of CentOS 6.3 on Microsoft Hyper-V Server with Linux Integration Services...

Why is cPanel/WHM not loading?

There are two main reasons why cPanel/WHM isn't loading that we've seen.Brand New ServerIf you...

How do I bind my additional IPs?

These instructions are for CentOS / Fedora specifically.By default, we only binds your first...

How do I run a traceroute?

Both Windows and Linux have the ability of diagnosing the health of a connection between a source...