#!/bin/bash
sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf
cd /etc/yum.repos.d/
mkdir -p  /etc/yum.repos.d/repo
mv /etc/yum.repos.d/*.repo  repo/
curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliyun.repo 
yum clean all
yum makecache


