linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
来源:互联网 发布:流行的网络歌手 编辑:程序博客网 时间:2024/05/24 04:02
[root@sulei sulei]# yum install docker
Loaded plugins: fastestmirror
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
解决办法:
没有配置:
dns服务器没有配置正确
1、打开文件/etc/resolv.conf在其中添加: nameserver 8.8.8.8 nameserver 8.8.4.4 search localdomain2、然后重启网卡:使用命令: service network restart
阅读全文
0 0
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- CentOS安装软件时提示找不到镜像:Couldn’t resolve host
- Couldn't resolve host 'mirrorlist.centos.org
- centos 安装工具出现提示错误:Couldn't resolve host 'mirrorlist.centos.org'
- PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
- when build docker, Couldn't resolve host 'mirrorlist.centos.org'"
- yum-Couldn't resolve host 'mirrorlist.centos.org'
- 解决Couldn't resolve host 'mirrorlist.centos.org
- 解决Couldn't resolve host 'mirrorlist.centos.org
- CentOS网络设置 couldn't resolve host 'mirrorlist.centos.org问题解决
- CentOS网络设置 couldn't resolve host 'mirrorlist.centos.org问题解决
- 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
- 【gitlab安装问题集】yum安装报错"Couldn't resolve host 'mirror.centos.org'"
- 机器学习-Tensorflow_CNN_mnit
- Android回调机制学习
- Django 连接mysql Oracle数据库
- 写时拷贝
- Python3网络爬虫:requests爬取动态网页内容
- linux安装软件时提示找不到镜像的问题:Couldn't resolve host 'mirrorlist.centos.org'
- 畅通工程
- spring启动过程
- Maven系列--"maven-compiler-plugin"的使用
- LeetCode 214. Shortest Palindrome
- JavaScript基本概念
- Shiro使用笔记
- Myeclipse 2014 blue 破解
- 移动架构04_设计模式一:工厂模式