视频教程在bilibili: CentOS 替换 yum源 经验分享_哔哩哔哩_bilibili
问题原因

解决方法
- 进入镜像目录
Haskell
[root@localhost ~]# cd /etc/yum.repos.d/

2.备份文件
Haskell
[root@localhost yum.repos.d]# rename repo bak *

3.寻找阿里镜像源复制


4.使用镜像

5.查看镜像
Haskell
[root@localhost yum.repos.d]# yum repolist

6.成功
