<> = 2006-04-17.up2 1.5.3! = 今天MoinMoin 1.5.3 发布了! 快速升级! == 升级过程 == 1. 备份! 1. 迁移MoinMoin 主程序,使用 `ln -s ` 链接到实际运行目录中 1. SVN 管理: 通过 hooks 脚本可以自动将更新的脚本同步到运行目录中,就不用登入服务器了! 1. 定制! 1. CSS 1. macro::Include.py 1. macro::TableOfContents.py 1. macro::FootNote.py 1. theme::modern.py == 加速发布 == 正常CGI 的形式发布,结果常常有::{{{ Warning: You triggered the wiki's surge protection by doing too many requests in a short time. Please make a short break reading the stuff you already got. When you restart doing requests AFTER that, slow down or you might get locked out for a longer time! }}} === fast-cgi === http://moinmoin.wikiwikiweb.de/HelpOnInstalling/FastCgi Lighttpd 怎么也不能如意的发布! 给Apache 安装又出错………… 放弃! === Twisted == 很简单的配置,但是运行时………… {{{#./mointwisted.py start twisted.web based wiki server Run this server with mointwisted script on Linux or Mac OS X, or mointwisted.cmd on Windows. @copyright: 2004-2005 Thomas Waldmann, Oliver Graf, Nir Soffer @license: GNU GPL, see COPYING for details. : error 63 import: not found ./mointwisted.py: 19: Syntax error: word unexpected (expecting ")") }}} `sys.path.insert(0,"/path/to/wiki.woodpecker/moin/server/wikiconfig")` 实际这行怎么看也没有问题哪?! 晕!放弃! === mod_python === 刚刚加载 `LoadModule python_module /usr/local/libexec/apache2/mod_python.so` apache 就不能启动了,想起来著名的冲突! 重新安装Python 不使用 thread 的; 重新编译"""mod_python-3.1.4_1""" 修改Apache 配置:{{{ #ScriptAlias /moin "/path/to/wiki.woodpecker/moin/server/moin.cgi" SetHandler python-program # Add the path of your wiki directory PythonPath "['/path/to/wiki.woodpecker/moin/server'] + sys.path" PythonHandler MoinMoin.request::RequestModPy.run }} DONE! 重启,果然轻快了一些!