Run through on how to install CentOS and setup network to prepare for use on the local network.
Have your server started already.
Command list for Network configuration:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
[in vi]
Arrow to BOOTPROTO
Shift + A
Delete ‘dhcp’
Replace with ‘static’
Press Enter
IPADDR=192.168.1.5
Enter for new line
NETMASK=255.255.255.0
Enter for new line
NETWORK=192.168.1.0
Arrow up to ONBOOT
Change ‘no’ to ‘yes’
Press Escape
Press Shift + Z, Shift + Z
# vi /etc/sysconfig/network
[in vi]
Arrow down to H in hostname
Press Shift + a
Press Enter
GATEWAY=192.168.1.1
Press Escape
Press Shift + Z, Shift + Z
#vi /etc/resolv.conf
[in vi]
Press ‘i’ to enter edit mode
search local domain
nameserver 8.8.8.8
nameserver 208.67.222.222
Press Shift + Z, Shift + Z
# ping yahoo.com
[to stop ping] Crtl + Z