Tag Archives: domain

wordpress站点更换域名

采用wordpress建站后经常会先使用临时域名,待测试完毕后再更换为正式域名,但在wordpress数据库里对站点域名进行了绑定,因此需要使用数据库进行处理: update wp_options set option_value=replace(option_value,’old_site_url’,’new_site_url’) where option_value like ‘%old_site_url%’;

Posted in Blog | Tagged , , , | Leave a comment

mailman中使用postfix建立多域

mailman: 2.1.9 debian etch 服务器上很早就搭建了postfix和mailman服务,但后来又产生新要求,要求mailman中再添加一个域名。原来做过多次尝试,一直未果。 今天把服务器升级为etch,顺便把x和gnome都干掉了。然后想看看这个问题能不能解决,就又试验起来了。 http://www.python.org/cgi-bin/faqw-mm.py?query=virtual+domain&querytype=simple&casefold=yes&req=search 开始都是以为要查询virtual domain,进入了误区,结果一直无解。 官方文档:http://www.gnu.org/software/mailman/mailman-install/node13.html 看了上面的文档后,又实验了多种配置,还是有问题,发到新邮件列表的信一直自动转发到老邮件列表上,导致查无此人。 Reporting-MTA: dns; debian.westgis.ac.cn Received-From-MTA: smtp; debian.westgis.ac.cn ([127.0.0.1]) Arrival-Date: Sat, 30 Dec 2006 12:09:02 +0800 (CST) Original-Recipient: rfc822;westdc@lists.westgis.ac.cn Final-Recipient: rfc822;westdc@list.cngis.org Action: failed Status: 5.1.1 Remote-MTA: dns; 127.0.0.1 Diagnostic-Code: smtp; 550 … Continue reading

Posted in Linux | Tagged , , , , , , | Leave a comment

使用SAMBA构建域服务器

原有域服务器出问题了,为了安全性考虑,就在DEBIAN上用SAMBA架设了一个域服务器。 /etc/samba/smb.conf的内容: [global] workgroup = WESTGIS netbios name = heihe passdb backend = tdbsam printcap name = cups add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group … Continue reading

Posted in Linux | Tagged , , , | 3 Comments