Minimal CentOS 6.0 Install

This is just a quick not to myself on a quick / minimal CentOS 6.0 install.

CentOS 6.0 has a great MINIMAL install that is truly minimal.  It doesn’t ask you for you network info or anything.  So, there are a few step to setting it up.  I also install lots of VMware systems so I’ve included the VMware tools as well.

The first that that needs configuring is the network so we can do an update.

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

DEVICE="eth0"
BOOTPROTO=none
IPADDR=10.0.0.100
NETMASK=255.255.255.0
GATEWAY=10.0.0.1.1
HWADDR="00:0C:29:63:35:3C"
NM_CONTROLLED="yes"
ONBOOT="yes"

    vi /etc/resolv.conf

nameserver 10.0.0.10
nameserver 8.8.8.8
search grennan.com

    service network start
    ping google.com
    yum update
    init 6

Now we need to install VMware tools.

    yum install gcc kernel-devel perl make openssh-clients
    cd /tmp
    mount /dev/cdrom /mnt
    cp /mnt/VMwareTools-4.0.0-261974.tar.gz .
    tar zxf VMwareTools-4.0.0-261974.tar.gz
    cd vmware-tools-distrib/
    ./vmware-install.pl
    init 6

When your done iptables and SElinux are on.  You may need to turn these off.

    service iptables stop
    echo 0 > /selinux/enforce

 

 


2 thoughts on “Minimal CentOS 6.0 Install

Leave a Reply

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