# cat /etc/redhat-release

CentOS 8.0配置阿里云yum源和epel源

 

 

# cd /etc/yum.repos.d

# vim CentOS-AppStream.repo

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

CentOS 8.0配置阿里云yum源和epel源

 

 

# vim CentOS-Base.repo

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

CentOS 8.0配置阿里云yum源和epel源

 

 

# vim CentOS-Extras.repo

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

CentOS 8.0配置阿里云yum源和epel源

 

# dnf -y install epel-release

# dnf clean all

# dnf makecache

# dnf repolist

CentOS 8.0配置阿里云yum源和epel源

 

 

转载自:https://blog.51cto.com/qiuyue/2446123

 

相关文章:

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