首页 > 系统相关 >阿里云centos7运行yum命令出现网络不可达

阿里云centos7运行yum命令出现网络不可达

时间:2024-07-31 11:56:57浏览次数:11  
标签:Network centos Errno centos7 阿里 yum linux docker com

运行
yum repolist all | grep mysql

出现

https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f126:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f126:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f126:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f126:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f136:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f136:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f136:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f136:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f126:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a03:2880:f126:83:face:b00c:0:25de: Network is unreachable"
Trying other mirror.

国内访问不到docker官方镜像,使用阿里云镜像
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

标签:Network,centos,Errno,centos7,阿里,yum,linux,docker,com
From: https://www.cnblogs.com/lybaobei/p/18334347

相关文章

  • Centos7.6升级Nginx到nginx-1.27.0
    Centos7.6升级Nginx到nginx-1.27.0 简介升级过程常见问题简介    Nginx更新到了1.27.0,为了系统的安全性将进行服务升级升级过程一、Nginx的卸载        升级前需要先卸载以前安装的版本1、yum的卸载>yumremovenginx同时还需要手动删除配置文......
  • Centos7 安装 Python3环境,兼容python2
     一、安装Python3查看是否已经安装Python。Centos7默认安装了python2.7.5.因为一些命令要用它比如yum它使用的是python2.7.5。使用python-V命令查看一下是否安装Python。 然后使用命令whichpython查看一下Python可执行文件 安装依赖yuminstallzlib-develbz......
  • CS部署阿里云服务器
    CS全称CobaltStrike是一款基于java的渗透测试神器,常被业界人称为CS神器今天有一个宝问怎么安装使用,这里给大家说一下怎么部署在阿里云服务器上的(其他的公网服务器或者是kali方法也一样,只不过是我用的阿里云的,大家可以参考)(最好部署在linux系统上面,)首先,大家都知道,CS分为客户......
  • Taro 框架中使用iconfont 阿里巴巴矢量图标 class版
    想必大家都知道这个图标库的图标还是很多的‘大家应该都也用过 最进开发Taro+nut-ui的H5移动端的时候我发现一些图标我在组件库中找不到我看到了nut-ui中还有另一种使用方法这个叫做自定一图标、我来用实际操作代码来介绍一下这个怎么使用 我总结文章......
  • 阿里云设置跨域规则后调用OSS时仍然报No'Access-Control-Allow-Origin'的错误原因和解
    问题描述为了实现跨域访问,保证跨域数据传输的安全进行,在OSS控制台设置了跨域CORS规则后,通过SDK进行程序调用时报以下错误。No'Access-Control-Allow-Origin'headerispresentontherequestedresource问题原因出现跨域问题的原因如下:跨域CORS规则设置异常:未正确设......
  • centos7配置国内源-中国科技大学
    在CentOS7中配置国内源可以提高软件包安装和更新的速度。以下是配置中国科技大学源的步骤:首先备份你当前的YUM仓库配置,以防需要恢复:cp-ar/etc/yum.repos.d/etc/yum.repos.d.bak清理原有的YUM仓库配置:rm-f/etc/yum.repos.d/*.repo新建一个新的YUM仓库配置文件,例如CentOS......
  • openEuler22.03最速安装yum(附20.03)
    系统环境:openEuler-22.03-LTS-SP4(20.03在下面)1、在/etc/yum.repos.d/目录下新建openEuler.repoviopenEuler.repo在其中写入如下内容[OS]name=OSbaseurl=http://mirrors.aliyun.com/openeuler/openEuler-22.03-LTS/OS/$basearch/enabled=1gpgcheck=0[everythin......
  • 顺丰快递查询|阿里云调用API接口实现
    介绍: 本次解析通过阿里云云市场的云服务来实现程序中对快递包裹实时监控,首先需要准备选择一家可以提供快递查询的商品。https://market.aliyun.com/apimarket/detail/cmapi00065859#sku=yuncode5985900001步骤1:选择商品如图点击免费试用,即可免费申请该接口数据。步骤2......
  • 巴赫:阿里AI技术将巴黎奥运转播带到新高度
    在巴黎,邂逅一场充满「AI技术」的体育盛会。 官宣!2024巴黎奥运会实现历史性突破:阿里云支撑的奥运转播云用量首次超越传统卫星转播成为奥运的主要转播方式!今年也是首次广泛应用AI技术的奥运会多项应用提升观赛体验!  国际奥委会主席巴赫表示:在2024巴黎奥运会上,广......
  • 脚本阿里云安全组 ECS 白名单
    脚本阿里云安全组ECS白名单公司外网ip重启路由啥的就会变ip,如果需要访问esc之前ip白名单失效参考/***https://api.aliyun.com/document/Ecs/2014-05-26/DescribeSecurityGroups*api地址*@throwsExecutionException*@throwsInterruptedException**......