继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

三分钟解决centos8停止维护,我们如何下载软件这个问题

运维家
关注TA
已关注
手记 5
粉丝 0
获赞 0

图片

主旨

centos8于2021年底就停止维护了,那么我们的小伙伴可能已经发现无法通过yum下载软件了,这个怎么解决呢?别急,下面我们来看看。

环境

centos8

报错回忆

# 查看系统版本是 centos8
[root@jier ~]# cat /etc/redhat-release 
CentOS Linux release 8.4.2105
[root@jier ~]# 
[root@jier ~]# yum -y install httpd mariadb-server mariadb php php-mysql
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
CentOS-8 - AppStream                           0.0  B/s |   0  B     00:08    
Failed to download metadata for repo 'AppStream'
Error: Failed to download metadata for repo 'AppStream'
[root@jier ~]#

原因大家都知道,因为不维护centos8了,所以无法下载了,看下解决方案先。

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP