linux中配置网络 Leave a Comment / Linux/Unix/Windows / September 12, 2012 September 12, 2012 摘自余洪春《构建高可用Linux服务器》 查看网卡:lspci |grep Ether 配置网卡的IP地址: vi /etc/sysconfig/network-scripts/ifcfg-eth0 (Redhat系列),配完后执行server network restart即可 修改机器名:vim /etc/sysconfig/network 配置DNS:vi /etc/resolv.conf