1、打开 vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是“ifcfg-eth数字”),把ONBOOT=no,改为ONBOOT=yes 2、重启网络:service network restart
yum安装出现Cannot find a valid baseurl for repo: base/7/x86_64解决方法
最新推荐文章于 2025-06-20 16:55:41 发布
1、打开 vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是“ifcfg-eth数字”),把ONBOOT=no,改为ONBOOT=yes 2、重启网络:service network restart