[root@localhost ~]# yum install vim 已加載插件:fastestmirror 設置安裝進程 Determining fastest mirrors Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" 錯誤:Cannot find a valid baseurl for repo: base
問題:不能解析域名【resolve [rɪ'zɒlv]】解析
php
Couldn't resolve host 'mirrorlist.centos.org
解決辦法:配置DNSweb
vim /etc/resolve.conf nameserver 8.8.8.8