cd /etc/yum.repo.d/ mkdir allbak mv * allbak/ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 来源:https://www.cnblogs.com/cou1d/p/12401636.html 标签 repo