1.獲取阿里的yum源覆蓋本地官方yum源
wget -O /etc/yum.repos.d/CentOS-ali.repo http://mirrors.aliyun.com/repo/Centos-6.repo
2.清理yum快取,並生成新的快取
yum clean all yum makecache
1.獲取阿里的yum源覆蓋本地官方yum源
wget -O /etc/yum.repos.d/CentOS-ali.repo http://mirrors.aliyun.com/repo/Centos-6.repo
2.清理yum快取,並生成新的快取
yum clean all yum makecache