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

相关文章:

  • 2022-12-23
  • 2022-02-26
  • 2021-09-08
  • 2021-11-30
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-07
  • 2022-02-28
  • 2021-12-04
  • 2021-06-07
  • 2021-07-07
相关资源
相似解决方案