开关yum的repo源
关闭repo源
sudo yum-config-manager --disable "*"
开启repo源
sudo yum-config-manager --enable "*"
查看源状态
sudo yum repolist all
关闭repo源
sudo yum-config-manager --disable "*"
开启repo源
sudo yum-config-manager --enable "*"
查看源状态
sudo yum repolist all