Linux换源修改源。

1、进入  cd /etc/yum.repos.d 文件夹下。

2、找到Centos-Base.repo备份。  成为Centos-Base.repo.bak。

3、将新的源放到该文件夹下,并且修改为Centos-Base.repo。

情不知所起一往而深
原文地址:https://www.cnblogs.com/xingbiaoblog/p/13935575.html