apt.sw.be失效 导致wdcp安装出错

修改 /etc/yum.repos.d/rpmforge.repo

### Name: RPMforge RPM Repository for RHEL 5 to 6 - dag
### URL: http://rpmforge.net/
### MODIFIED BY QQ733905
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = https://mirrors.tuna.tsinghua.edu.cn/repoforge/redhat/el$releasever/en/$basearch/rpmforge/
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 0

wdcp 的迁移

新老机器都安装的wdcp 管理,

把新机器的wdcp 关闭
/etc/init.d/wdapache stop
/etc/init.d/httpd stop
/etc/init.d/nginx stop
/etc/init.d/mysqld stop

然后
mv /www/wdlinux /www/wdlinux-back
mv /www/web /www/web-back

然后把老站的 /www/wdlinux 和 /www/web 弄个过来
方法一般是 rsync

程序启动测试

etc/init.d/wdapache start
/etc/init.d/httpd start
/etc/init.d/nginx start
/etc/init.d/mysqld start