yum install wget -y
rm -rf /etc/yum.repos.d/*
wget -O /etc/yum.repos.d/CentOS-Base.repo http://down.demon.ren/repo/CentOS6-aliyun.repo --no-check-certificate
wget -O /etc/yum.repos.d/epel.repo http://down.demon.ren/repo/epel6-aliyun.repo --no-check-certificate
yum clean all
yum makecache
history -c
