yum update 报错 Loaded plugins: fastestmirror
- vi /etc/yum/pluginconf.d/fastestmirror.conf # 由enabled = 1修改为enabled = 0 意思是禁用它
- vi /etc/yum.conf # 修改为plugins=0 不使用插件
- vi /etc/sysconfig/network-scripts/ifcfg-ens33 # ifcfg-ens33 可能不是这个名字 找前缀为 ifcfg-ens [将ONBOOT改为yes, wq!保存退出]
- service network restart # 重新启动网络