centos5.x: Http://mirrors.163.com/.help/CentOS5-Base-163.repo
centos6.x: Http://mirrors.163.com/.help/CentOS6-Base-163.repo
CentOS 163 Yum Source using:
1, first close fastestmirror
Vim/etc/yum/pluginconf.d/fastestmirror.conf
Set enable=0
2, first backup /etc/yum.repos.d/centos-base.repo
CD/ETC/YUM.REPOS.D
Mv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.old
3, enter http://mirrors.163.com/.help/centos.html download Centos6-base-163.repo, put into /etc/yum.repos.d/ .
wget-c Http://mirrors.163.com/.help/CentOS6-Base-163.repo
4. Generate Cache
Yum Makecache
Other command references:
1.Yum Search softwarename find Software
2.Yum list softwarename list installed software
3.Yum install softwarename installation software
4.Yun Remove softwarename uninstall software
Ali Yum Source:
cd/etc/yum.repos.d/
MV MV Centos-base.repo Centos-base.repo.back
Wget-o Centos-base.repo Http://mirrors.aliyuncs.com/repo/Centos-6.repo
Yum Makecache
Change CentOS 6.3 Yum Source to domestic 163 source