标签:mirror http ase 备份 base curl -O wget back backup
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
说明:在执行上面之前,需要执行which wget确认系统中是否存在wget命令
或者
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
标签:mirror http ase 备份 base curl -O wget back backup
原文地址:http://blog.51cto.com/liuleis/2137144