Skip to content
seo

更换镜像源(阿里云/腾讯云)

cd /etc/yum.repos.d

vim CentOS-Epel.repo
#以下为内容, 换tencentyun更换成aliyun
[epel]
name=EPEL for redhat/centos $releasever - $basearch
failovermethod=priority
gpgcheck=1
gpgkey=http://mirrors.tencentyun.com/RPM-GPG-KEY-EPEL-7
enabled=1
baseurl=http://mirrors.tencentyun.com/epel/$releasever/$basearch/