centos8安装阿里云源和epel
作者:互联网
1. 备份
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2.下载
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
3.生成缓存
yum clean all
yum makecache
4.安装epel
yum install epel-release
标签:epel,云源,CentOS,repos,repo,etc,Base,yum,centos8 来源: https://www.cnblogs.com/liqing1009/p/15896153.html