See if the NIC is installed properly
Command: Lspci |grep ether
1. Modify the NIC configuration
Command: Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0
Bootproto=none (dhct,static)
Hwaddr=00:14:2b:1b:22:20
Ipv6init=yes
Ipv6_autoconf=yes
Onboot=yes
netmask=255.255.255.0
ipaddr=192.168.1.241
gateway=192.168.1.1
Type=ethernet
Peerdns=yes
Userctl=no
Service Network restart
2. Modify the hostname of the machine
Vi/etc/sysconfig/network
hostname=gao.com.cn
3. Modify Host name query static table
Vi/etc/hosts
192.168.1.1 tudou.com Tudou
The first part IP Part two domain name third section respectively
4. Configure DNS
Vi/etc/resolv.conf
NameServer 8.8.8.8
NameServer 8.8.4.4
--------------------------------------------------------------------------------------------------
Setup Tool Pack Installation
Yum Install Setuptool installs setup, but only authentication configuration is available after installation using Run Setup.
If you want to configure IP, install system-config-network-tui .
Yum Install System-config-firewall-tui installs the graphical firewall configuration tool.
Yum List system-config* all installed.
Original address: http://blog.sina.com.cn/s/blog_946cb2b70100wx2j.html
(reproduced) Linux network Configuration and Setup Kit installation