修改网卡配置将网卡设置为开机启动 #修改配置文件 vi /etc/sysconfig/network-scripts/ifcfg-eth0 #找到选项ONBOOT #将ONBOOT设置为YES ONBOOT=YES #重启 reboot