标签:yum amp cache yum源 date centos upd 更换yum源 wget
更换阿里yum源
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
wget http://mirrors.aliyun.com/repo/Centos-7.repo && mv Centos-7.repo CentOS-Base.repo
yum clean all && yum makecache && yum update -y
标签:yum amp cache yum源 date centos upd 更换yum源 wget
原文地址:https://www.cnblogs.com/li0920/p/12072589.html