DokuWiki安裝过程 -- oice DIY# cd cd /var/www/html# wgethttp://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2006-11-06.tgz?id=projects%3Adokuwiki&cache=cache# mv dokuwiki-2006-11-06.tgz\?id\=projects\:dokuwiki dokuwiki-2006-11-06.tgz# tar -zxvf dokuwiki-2006-11-06.tgz# mv dokuwiki-2006-11-06 wiki# chown -R apache:apache wiki在apache支持rewrite环境下WIN2K的IE中输入:http://10.10.7.246/wiki/install.php选择语言zh,配置管理员的密码,保存以刚才管理员的账号登入,“管理”---“配置设置”有新注册通知到email支持html语法.htaccess(在高级项处)-- 可将install.php更名# mv install.php install.php.bak# cp /var/www/html/.htaccess /var/www/html/.htaccess.bak# vi /var/www/html/.htaccess## Enable this to restrict editing to logged in users only## You should disable Indexes and MultiViews either here or in the## global config. Symlinks maybe needed for URL rewriting.#Options -Indexes -MultiViews +FollowSymLinks## make sure nobody gets the htaccess files<Files ~ "^[\._]ht">Order allow,denyDeny from allSatisfy All</Files>## Uncomment these rules if you want to have nice URLs using## $conf[‘rewrite‘] = 1 - not needed for rewrite mode 2RewriteEngine on### Not all installations will require the following line. If you do,## change "/dokuwiki" to the path to your dokuwiki directory relative## to your document root.RewriteBase /wiki #这个很重要,必须要与上面wiki所在文件夹名相符合,不然会打不开网页的#RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]RewriteRule ^$ doku.php [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule (.*) doku.php?id=$1 [QSA,L]RewriteRule ^index.php$ doku.php# chown apache:apache /var/www/html/.htaccessWIN2K的IE中输入:http://10.10.7.246/wiki/注册oice账号,在oice2008@126.com中能收到密码邮件,安装成功参考资料:http://www.ichiayi.com/wikipage/tech/dokuwikihttp://sinosmond.com/guide/dokuwiki/dokuwiki_installhttp://www.wiztek.cn/trac/wiki/wiki/TracInactionhttp://wiki.moligu.com/doku.php?do=export_raw&id=%E6%89%8B%E5%86%8C:dokuwikihttp://www.blogjava.net/pepsixp/archive/2007/06/14/DokuWiki.html