Installing cPanel on Centos 6.x

[:en]cPanel Installation Instructions

To keep better track of the installation, you need install  the “screen” program. This program helps you follow the installation process if the ssh connection is lost.

1. Connect to the server via SSH and run the following command:

yum -y install screen

This will install “screen” on your server

After this, you need to execute the “screen” command and hit Enter. This will create a screen session. in order to see it you need to type the following command:

screen -ls

root@server:~# screen -ls
There is a screen on:
5077.pts-2.server  (04/05/2017 01:59:49 PM)        (Attached)
1 Socket in /var/run/screen/S-root.


The installation needs to run from INSIDE this screen session. If the connection is list, you can always ssh back into the server and

In order to enter the screen session IF the ssh connection is lost, you would need to type the following command: this asumes the above example is used.

Command: screen -x 5077.pts-2.server

This will cause your prompt scren to be redirected to the previous screen session you had running with the cPanel installation.


There are a few things that need to be done when installing cPanel on a Centos Machine.

NOTE: The cPanel is only compatible with CentOS.

1. The Hostname needs to be a FQDN (Full qualified Domain Name)

2. The Firewall needs to be Disabled on Centos

nano /etc/sysconfig/selinux

3. Disable iptables.

# service iptables save
# service iptables stop
# chkconfig iptables off

4 Installation procedure:

cd /home
# wget -N
# sh latest

After the installation is “done”, please point your browser to:

https://IP-Of-The-Server:2087 for the configuration menu.

Swisslayer Host


Post A Comment

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

WordPress Appliance - Powered by TurnKey Linux