cPanel is software that provide an interface to help website owners manage their sites (FTP, Email accounts, statistics), while WebHost Manager (WHM) automates server management tasks for server administrators. cPanel makes it very easy for the hosting company to give the client total control of their website without the requirement of providing full server access. cPanel has lots of advantages and disadvantages but we won’t go through them as it is not of this article’s focus. You can read more about pros and cons of cPanel on this article here.
This article mostly interests webmasters, system administrators and any individuals who own a Virtual Private Server and wish to install cPanel and Fantastico on it.
The first thing to consider is yum as we will need it installed. If it is not installed on VPS then do the following:
cat /etc/redhat-release
rpm -q yum centos-yumconf
The next step is to download all necessary utilities/software using the RPM Package Manager:
rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpmrpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/m2crypto-0.16-6.el5.1.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -ivh http://mirror.centos.org/centos/5.0/os/i386/CentOS/rpm-python-4.4.2-37.el5.i386.rpm
rpm -ivh http://mirror.centos.org/centos/5.0/os/i386/CentOS/libxml2-2.6.26-2.1.2.i386.rpm
rpm -ivh http://mirror.centos.org/centos/5.0/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/yum-3.0.5-1.el5.centos.2.noarch.rpm
We are now ready to proceed to the cPanel Installation:
mkdir /home/cpins
cd /home/cpins
wget http://layer1.cpanel.net/latest
sh latest
and now to the Fantastico installation:
cd /usr/local/cpanel/whostmgr/docroot
rm -Rf fantastico*
wget -N http://netenberg.com/files/free/fantasticoinstaller.tgz
tar xzpf fantasticoinstaller.tgz
rm -f fantasticoinstaller.tgz
In /etc/xinetd.d/pop3ds : Change ‘disable = no’ to ‘disable = yes’
Finally:
restart xinetd
restart cpanel









