-  备份原yum源的配置: mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
-  下载Centos-7.repo文件 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
-  清除及生成缓存 # 清除yum缓存 yum clean all # 缓存阿里云源 yum makecache # 列出 yum list
-  阿里云镜像加速配置地址:容器镜像服务 (aliyun.com)