共计 266 个字符,预计需要花费 1 分钟才能阅读完成。
简单粗暴,root 身份运行,直接复制粘贴到终端
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache
正文完
发表至: 系统运维
2019-08-21