Setting up Cpanel over Centos 6 minimal

Set up networking:

vi /etc/sysconfig/network-scripts/ifcfg-eth0

hit “i” to insert text.

Make the file look like this:

DEVICE=”eth0″
HWADDR=”leave the same”
NM_CONTROLLED=”yes”
ONBOOT=”yes”
IPADDR=66.249.*.*
BOOTPROTO=none
NETMASK=255.255.255.*
GATEWAY=66.249.*.*
DNS1=66.249.*.*
DNS2=66.249.*.*
DNS3=66.249.*.*
USRCTL=yes

Then click the esc key
Then click control :
Then type x and hit enter to save.
Then restart your nic card:

/etc/init.d/network restart or service network restart

Then download some stuff:

yum groupinstall base

Then install Cpanel and so on:

cpanel
mkdir /home/cpins
cd /home/cpins
wget http://layer1.cpanel.net/latest sh latest

csf
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

cd /home
wget http://www.ndchost.com/cpanel-whm/plugins/cleanbackups/download.php
sh latest-cleanbackups

wget http://www.ndchost.com/cpanel-whm/plugins/accountdnscheck/download.php
sh latest-accountdnscheck