Centos之Could not retrieve mirrorlist解决方案

问题描述

Couldnotretrievemirrorlisthttp://mirrorlist.centos.org/release=6&arch=x86_64&repo=os errorwas14: PYCURL ERROR 6 - “Couldn’t resolve host ‘mirrorlist.centos.org’”

解决方案

vi /etc/sysconfig/network-scripts/ifcfg-你的网卡名字
修改:ONBOOT=yes 添加:MM_CONTROLLED=no
重启即可:reboot

猜你喜欢

转载自blog.csdn.net/qq_33733970/article/details/81200980
今日推荐