×

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

Falcon 2019-12-16 views:
自动摘要

正在生成中……

# cat /etc/redhat-release

image.png

# cd /etc/yum.repos.d

# vim CentOS-AppStream.repo

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

image.png

# vim CentOS-Base.repo

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

image.png

# vim CentOS-Extras.repo

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

image.png

# dnf -y install epel-release

# dnf clean all

# dnf makecache

# dnf repolist

image.png