[CentOS7]修改yum源 转载:https://www.cnblogs.com/yangchongxing/p/10645944.html 1.备份源 # mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2.下载对应版本 repo 文件, 放入 /etc/yum.repos.d/ # curl -o CentOS-Base.repo http://mirrors.163.com/.h…