AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] CentOS6.5 Min版本,wget下载出错,求解决 |
|
---|---|
rjf078 |
rjf078 发表于 2014-07-09 00:59:09
wget下载文件出错,找不到文件。文件地址没有错,可以直接下载。
在安装wget出错,不知道什么问题。 sudo yum -y install wget: [root@localhost ~]# sudo yum -y install wget Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base yum -y install wget: [root@localhost ~]# yum -y install wget Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base yum install wget [root@localhost ~]# yum install wget Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
点赞,加油! (0分)
2014-07-09 00:59:09 1
|
zcom |
试试:
解决方法是: 修改dns配置 vi /etc/resolv.conf 在此文件中最后加入nameserver 8.8.8.8 支持
回复
2014-07-09 16:55:06 2
|
root |
国内的可以使用8.8.8.8 但是国内的服务器就使用114.114.114.114吧。
回复
2014-07-13 23:22:51 3
|
amysql |
可以参考楼上两位
回复
2014-07-16 16:36:06 4
AMH面板 - 好用高效低占用、安全可靠极稳定 |