Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 204 Bytes

CentOS更换yum源镜像为国内镜像.md

File metadata and controls

8 lines (8 loc) · 204 Bytes
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
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