yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
来源:互联网 发布:吉诺比利职业生涯数据 编辑:程序博客网 时间:2024/05/29 18:50
Downloading Packages:
http://mirrors.163.com/centos/6.5/os/i386/Packages/mlocate-0.22.2-4.el6.i686.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.163.com'"Trying other mirror.
http://mirrors.aliyun.com/centos/6.5/os/i386/Packages/mlocate-0.22.2-4.el6.i686.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.aliyun.com'"Trying other mirror.
http://centos.ustc.edu.cn/centos/6.5/os/i386/Packages/mlocate-0.22.2-4.el6.i686.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'centos.ustc.edu.cn'"Trying other mirror.
后来网上查了一下说是DNS服务器错误。于是修改一下 /etc/resolv.conf
添加一个nameserver 8.8.8.8完成
[root@node4 etc]# cat resolv.conf
nameserver 8.8.8.8
nameserver 172.28.1.26
nameserver 172.28.1.28
- yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
- yum nginx 安装时错误 Errno 14 Couldn't resolve host 解决办法
- yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
- yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
- yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
- 【CentOS7】yum安装时出现错误Errno 14 Couldn't resolve host的解决办法
- yum 安装时 Couldn't resolve host 解决办法
- CentOS yum 命令出现 [Errno 14] curl#6 - "Couldn't resolve host ..." 的解决方法
- yum install 出现 Couldn't resolve host
- 【gitlab安装问题集】yum安装报错"Couldn't resolve host 'mirror.centos.org'"
- linux couldn't resolve host or ping: unknown host解决办法
- yum 安装出错 Couldn't resolve host 'mirrors.163.com'"Trying other mirror.
- yum-Couldn't resolve host 'mirrorlist.centos.org'
- centos 安装工具出现提示错误:Couldn't resolve host 'mirrorlist.centos.org'
- Magento安装插件时遇到Couldn’t resolve host ‘magento-community’
- CentOS安装软件时提示找不到镜像:Couldn’t resolve host
- oracle linux yum 使用不了,报错:Couldn't resolve host 'public-yum.oracle.com'
- Couldn’t resolve host ‘magento-community’
- [2016 微软预科生计划-探星夏令营在线测试2] Give My Text Back(字符串处理)
- CSS利用浮动和清除浮动进行布局
- 百度地图sdk无法定位错误总结
- RTF文件格式分析
- OrCAD:添加footprint属性图文教程
- yum 安装时错误 Errno 14 Couldn't resolve host 解决办法
- Android照片墙完整版,完美结合LruCache和DiskLruCache
- Codeforces 689A. Mike and Cellphone(模拟)
- Fragment抛出java.lang.IllegalStateException: Fragment not attached to Activity
- 算法日记(Java实现)第20160715(1)期——POJ1001/POJ1002
- Dependencies for Windows + Android
- JAVA Servlet
- dynamic - How to angular 2 dynamic tabs with user click chosen components
- 通过 PS 指令获得指定进程名称的 PID