配置阿里雲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
配置阿里雲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