阿里云source(更新yum的CentOS-Base.repo)
[base] name=CentOS-6 - Base repo=os baseurl=http://mirrors.aliyun.com/centos/6/os/$basearch/ gpgcheck=1 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6 #released updates [update] name=CentOS-6 - Updates baseurl=http://mirrors.aliyun.com/centos/6/updates/$basearch/ gpgcheck=1 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6 #packages used/produced in the build but not released #[addons] #name=CentOS-6 - Addons #baseurl=http://mirrors.aliyun.com/centos/6/addons/$basearch/ #gpgcheck=1 #gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6 #additional packages that may be useful [extras] name=CentOS-6 - Extras baseurl=http://mirrors.aliyun.com/centos/6/extras/$basearch/ gpgcheck=1 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-6 - Plus baseurl=http://mirrors.aliyun.com/centos/6/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6 #contrib - packages by Centos Users [contrib] name=CentOS-6 - Contrib baseurl=http://mirrors.aliyun.com/centos/6/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6