Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 260 Bytes

CentOS7更换国内yum源.md

File metadata and controls

10 lines (8 loc) · 260 Bytes

CentOS7更换国内yum源

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache
yum -y update