This is a simple tutorial on How to install CPanel in VMWare ESXi 5.1 Guest OS. Firstly, you should make sure that you can access the world from the VM, and you can access your VM from outside. Your VM should have a public static IP Address. You can found the article on how to give a public static IP Address to you VMware VM here.

Here are some simple steps to Install CPanel on a fresh installed CentOS 6.3.

Connect to your VM: SSH to you VM or use Putty for wondows.

Run yum update.

 yum -y update

Remove yum groups, make sure these group not installed.

  • FTP Server
  • GNOME Desktop Environment
  • KDE (K Desktop Environment)
  • Mail Server
  • Mono
  • Web Server
  • X Window System

Run this command to check:

yum grouplist

If there is any of those groups is installed. Remove it, run this command:

yum groupremove "groupname" "groupname"

Disable SeLinux:

vi /etc/selinux/config
SELINUX=disabled

Disable Firewall IPtables. Run these two command

chkconfig iptables off
service iptables stop

Installing CPannel.

cd /home
wget -N http://httpupdate.cpanel.net/latest
sh latest

Installation will run automatically. After the installation finished successfully. Open your newly installed CPanel in browser IP:2087. I.g.

73.123.123.2:2087

Done.