修改亚马逊联盟ID。
update niuren_posts set post_content = replace(post_content,'niuren-20','dnlm-20') where ID=31
vi全部替换 :%s/s1/s2/g
把YUM的升级点改成这个镜像站:
#vi /etc/yum.repos.d/CentOS-Base.repo
把文件里的内容改成以下就可以了
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.be10.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.be10.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-K
查看版本号
lsb_release -a
unmae -a