1、删除系统自带源
rm -f /etc/yum.repos.d/*
2、下载阿里云源
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo sudo dnf clean all sudo dnf update
1、删除系统自带源
rm -f /etc/yum.repos.d/*
2、下载阿里云源
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo sudo dnf clean all sudo dnf update