虚拟机更新为阿里数据源
阿里数据源官网
a)
yum install wget
b) 帮助文档路径
http://mirrors.aliyun.com/help/centos
c)
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
d)
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
e)
yum makecache