1、IP地址等配置:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
2、主机对应IP地址配置(hosts):
vi /etc/hosts
3、设置DNS地址:
vi /etc/resolv.conf
4、本机主机名:
vi /etc/hostname