cd /etc/yum.repos.d/
mkdir repo_bak
mv *.repo repo_bak/
wget http://mirrors.aliyun.com/repo/Centos-7.repo
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
ll
pwd
yum clean all
yum makecache
yum list | grep epel-release
yum install -y epel-release
wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache
yum -y install rsync
原文连接:CentOS7系统配置国内yum源和epel源 - flytoyou - 博客园
修改centos镜像源
最新推荐文章于 2024-09-18 00:17:09 发布