1, centos 更新源为/etc/yum.repos.d/CentOS-Base.repo,首先备份一下啊;
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,