CentOS minimal 启用 eth0 vi /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=no 改成 ONBOOT=no 然后重启网络 service network restart