Linux运维+系统服务搭建----Could not retrieve mirrorlist

来源:互联网 发布:上海师范大学网络支付 编辑:程序博客网 时间:2024/04/28 21:35

问题如下–无法安装

[root@localhost ~]# yum -y install nanoLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfileCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"Error: Cannot find a valid baseurl for repo: base

问题展现
这里写图片描述
解决办法如下
这里写图片描述
这里写图片描述
这里写图片描述
然后就搞定了!可以yum -y install 下载啦

0 0