配置阿里云yum源
1.备份
mkdir repobak
mv *.repo repoback/
2.下载Centos-Base.repo 到路径/etc.yum.repos.d/
wget -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
3.清除缓存
yum clean all
4.重建缓存
yum makecache