编辑

CentOS-AppStream.repo配置文件,注释原有url,加入以下url

baseurl=https://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/

编辑CentOS-Base.repo配置文件,注释原有url,加入以下url

baseurl=https://mirrors.aliyun.com/centos/$releasever/BaseOS/$basearch/os/

编辑CentOS-Extras.repo配置文件,注释原有url,加入以下url

baseurl=https://mirrors.aliyun.com/centos/$releasever/extras/$basearch/os/

安装扩展,清理缓存,生成缓存,查看可用源

dnf -y install epel-release

dnf clean all

dnf makecache

dnf repolist、

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-28
  • 2022-01-14
  • 2022-12-23
  • 2021-07-17
  • 2021-04-22
相关资源
相似解决方案