安装SVN时,报错:解析不了地址
来源:互联网 发布:bose蓝牙音响 知乎 编辑:程序博客网 时间:2024/04/30 12:00
[root@localhost ~]# yum install subversion mysql-server httpd mod_dav_svn mod_perl sendmail wget gcc-c++ make unzip perl* ntsysv vim-enhanced
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
* base: centos.ustc.edu.cn
* extras: mirror.neu.edu.cn
* updates: ftp.sjtu.edu.cn
http://centos.ustc.edu.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.ustc.edu.cn'"
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'ftp.sjtu.edu.cn'"
Trying other mirror.
http://mirror.neu.edu.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.neu.edu.cn'"
Trying other mirror.
http://mirrors.aliyun.com/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.aliyun.com'"
Trying other mirror.
http://mirrors.btte.net/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.btte.net'"
Trying other mirror.
http://mirrors.opencas.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.opencas.cn'"
yun clear all
dhclient eth0
重新获取IP
自动重新更新
/etc/resolv.conf文件
重新执行命令即可
如果还是不行, 在/etc/resolv.conf文件最后加上 nameserver 8.8.8.8
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=extras&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
* base: centos.ustc.edu.cn
* extras: mirror.neu.edu.cn
* updates: ftp.sjtu.edu.cn
http://centos.ustc.edu.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.ustc.edu.cn'"
Trying other mirror.
http://ftp.sjtu.edu.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'ftp.sjtu.edu.cn'"
Trying other mirror.
http://mirror.neu.edu.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.neu.edu.cn'"
Trying other mirror.
http://mirrors.aliyun.com/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.aliyun.com'"
Trying other mirror.
http://mirrors.btte.net/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.btte.net'"
Trying other mirror.
http://mirrors.opencas.cn/centos/6.7/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.opencas.cn'"
yun clear all
dhclient eth0
重新获取IP
自动重新更新
/etc/resolv.conf文件
重新执行命令即可
如果还是不行, 在/etc/resolv.conf文件最后加上 nameserver 8.8.8.8
0 0
- 安装SVN时,报错:解析不了地址
- svn报错解析
- 安装SVN报错
- eclipse安装SVN报错
- 安装SVN报错2053
- 安装svn插件报错
- eclipse安装SVN报错
- Eclipse svn 安装地址
- eclipse svn安装地址
- 解决SVN安装报2503错
- SVN上传不了类的问题,报错out of date的问题
- tomcat启动不了,报错!
- Sql 2005启动不了,报错如下时的解决办法!
- 在线安装svn插件地址
- Eclipse 安装svn 插件地址
- SVN和Maven安装地址
- eclipse安装SVN插件地址
- myeclipse svn 插件安装地址
- 剑指offer-顺时针打印矩阵
- 7种qsort排序方法
- 2016.3.5【初中部 NOIP提高组 】模拟赛A
- sqlite优化
- ubuntu操作系统安装(二) git
- 安装SVN时,报错:解析不了地址
- 【IOI2014】【BZOJ4367】holiday假期
- MySQL聚集函数
- iOS之运行时—对象与类以及相应的数据结构
- github中.gitignore文件
- P33 (*) Determine whether two positive integer numbers are coprime.
- Quartz2D - 图片裁剪为正圆形2(加边框)
- Runtime of Objective-C
- POJ1751 Highways(最小生成树)(prim)