July 26, 2013

Base Install of CentOS 6.4

Here are the steps I use to install CentOS 6.4 to get to a base load.

  1. Install CentOS from the minimal iso.
  2. Bring up networking: ifup eth0
  3. Configure a static IP address for the system: vi /etc/sysconfig/network-scripts/ifcfg-eth0
    • image
  4. Configure a gateway for our static IP address: vi /etc/sysconfig/network
    • image
  5. Add some DNS resolution as well: vi /etc/resolv.conf
    • image
  6. Restart networking to commit our changes: service network restart
  7. Let’s drop the firewall: service iptables save | service iptables stop | chkconfig iptables off
  8. Let’s relax selinux: vi /etc/sysconfig/selinux
    • image
  9. Restart the system to commit the changes: shutdown –r now
  10. Add the EPEL repository: rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  11. Update the system: yum update
And there you have it. A base install of CentOS 6.4

No comments:

Post a Comment