栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

CentOS7 yum 时报错 curl#6 - “Could not resolve host: mirror.lzu.edu.cn; Unknown error“ 及telnet安装

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

CentOS7 yum 时报错 curl#6 - “Could not resolve host: mirror.lzu.edu.cn; Unknown error“ 及telnet安装

CentOS7 yum 时报错
[root@localhost apache-flume-1.7.0-bin]# yum -y install telnet-server
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * extras: ftp.sjtu.edu.cn
 * updates: ftp.sjtu.edu.cn
http://mirrors.nju.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.nju.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.ustc.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.huaweicloud.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.huaweicloud.com; 未知的错误"
正在尝试其它镜像。
http://mirrors.163.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.163.com; 未知的错误"
正在尝试其它镜像。
http://mirror.lzu.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirror.lzu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://ftp.sjtu.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.sjtu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.neusoft.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.cqu.edu.cn/CentOS/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.cqu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.bfsu.edu.cn/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.bfsu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.aliyun.com/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; 未知的错误"
正在尝试其它镜像。
http://mirrors.nju.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.nju.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.ustc.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.ustc.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.163.com/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.163.com; 未知的错误"
正在尝试其它镜像。
http://mirror.lzu.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirror.lzu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://ftp.sjtu.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.sjtu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.neusoft.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.cqu.edu.cn/CentOS/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.cqu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.bfsu.edu.cn/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.bfsu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.aliyun.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; 未知的错误"
正在尝试其它镜像。
http://mirrors.nju.edu.cn/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.nju.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.huaweicloud.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.huaweicloud.com; 未知的错误"
正在尝试其它镜像。
http://mirrors.163.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.163.com; 未知的错误"
正在尝试其它镜像。
http://mirror.lzu.edu.cn/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirror.lzu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://ftp.sjtu.edu.cn/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.sjtu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.neusoft.edu.cn/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.cqu.edu.cn/CentOS/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.cqu.edu.cn; 未知的错误"
正在尝试其它镜像。
http://mirrors.bfsu.edu.cn/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirrors.bfsu.edu.cn; 未知的错误"
正在尝试其它镜像。
正在解决依赖关系
--> 正在检查事务
---> 软件包 telnet-server.x86_64.1.0.17-66.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

================================================================================================================================================
 Package                              架构                          版本                                   源                              大小
================================================================================================================================================
正在安装:
 telnet-server                        x86_64                        1:0.17-66.el7                          updates                         41 k

事务概要
================================================================================================================================================
安装  1 软件包

总下载量:41 k
安装大小:55 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.aliyun.com/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.aliyun.com; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.nju.edu.cn/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.nju.edu.cn; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.huaweicloud.com/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.huaweicloud.com; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.163.com/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.163.com; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirror.lzu.edu.cn/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.lzu.edu.cn; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://ftp.sjtu.edu.cn/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.sjtu.edu.cn; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.tuna.tsinghua.edu.cn/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.tuna.tsinghua.edu.cn; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.neusoft.edu.cn/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.neusoft.edu.cn; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.cqu.edu.cn/CentOS/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.cqu.edu.cn; Unknown error"
正在尝试其它镜像。
telnet-server-0.17-66.el7.x86_ FAILED
http://mirrors.bfsu.edu.cn/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.bfsu.edu.cn; Unknown error"
正在尝试其它镜像。
解决方式
# vi /etc/resolv.conf
 
# Generated by NetworkManager
nameserver 8.8.8.8
nameserver 114.114.114.114
安装telnet
rpm -qa telnet
无响应说明未安装成功
[root@localhost ~]#  rpm -qa telnet*
telnet-server-0.17-66.el7.x86_64
[root@localhost ~]# yum install -y telnet
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.ustc.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.ustc.edu.cn
base                                                                                                                     | 3.6 kB  00:00:00
extras                                                                                                                   | 2.9 kB  00:00:00
updates                                                                                                                  | 2.9 kB  00:00:00
正在解决依赖关系
--> 正在检查事务
---> 软件包 telnet.x86_64.1.0.17-66.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

================================================================================================================================================
 Package                         架构                            版本                                    源                                大小
================================================================================================================================================
正在安装:
 telnet                          x86_64                          1:0.17-66.el7                           updates                           64 k

事务概要
================================================================================================================================================
安装  1 软件包

总下载量:64 k
安装大小:113 k
Downloading packages:
telnet-0.17-66.el7.x86_64.rpm                                                                                            |  64 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : 1:telnet-0.17-66.el7.x86_64                                                                                                 1/1
  验证中      : 1:telnet-0.17-66.el7.x86_64                                                                                                 1/1

已安装:
  telnet.x86_64 1:0.17-66.el7

完毕!
[root@localhost ~]# service xinetd restart
Redirecting to /bin/systemctl restart xinetd.service
Failed to restart xinetd.service: Unit not found.
[root@localhost ~]# yum -y install xinetd
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * extras: ftp.sjtu.edu.cn
 * updates: ftp.sjtu.edu.cn
正在解决依赖关系
--> 正在检查事务
---> 软件包 xinetd.x86_64.2.2.3.15-14.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

================================================================================================================================================
 Package                         架构                            版本                                       源                             大小
================================================================================================================================================
正在安装:
 xinetd                          x86_64                          2:2.3.15-14.el7                            base                          128 k

事务概要
================================================================================================================================================
安装  1 软件包

总下载量:128 k
安装大小:261 k
Downloading packages:
xinetd-2.3.15-14.el7.x86_64.rpm                                                                                          | 128 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : 2:xinetd-2.3.15-14.el7.x86_64                                                                                               1/1
  验证中      : 2:xinetd-2.3.15-14.el7.x86_64                                                                                               1/1

已安装:
  xinetd.x86_64 2:2.3.15-14.el7

完毕!
[root@localhost ~]# service xinetd restart
Redirecting to /bin/systemctl restart xinetd.service

至此telnet安装完毕
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/323352.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号