1, centos 更新源為/etc/yum.repos.d/CentOS-Base.repo,首先備份一下?。?/p>
2,
163:wgethttp://mirrors.163.com/.help/CentOS6-Base-163.repo?
ali:wget ?http://mirrors.aliyun.com/repo/Centos-6.repo
mv 163.repo CentOS-Base.repo
3,yum makecache
4,yum update
5,yum install ?
6,yum search * ? 搜索需要安裝的軟件,同 apt-cahe search
7,yumdownloader ?同 apt-source get
7,