DokuWiki安裝过程 --- CentOS
来源:百度文库 编辑:神马文学网 时间:2024/04/30 01:07:25
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
Order allow,deny
Deny from all
Satisfy All
## Uncomment these rules if you want to have nice URLs using
## $conf[‘rewrite‘] = 1 - not needed for rewrite mode 2
RewriteEngine 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} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) doku.php?id=$1 [QSA,L]
RewriteRule ^index.php$ doku.php
# chown apache:apache /var/www/html/.htaccess
WIN2K的IE中输入:http://10.10.7.246/wiki/
注册oice帐号,在oice2008@126.com中能收到密码邮件,安装成功
参考资料:
http://www.ichiayi.com/wikipage/tech/dokuwiki
http://sinosmond.com/guide/dokuwiki/dokuwiki_install
http://www.wiztek.cn/trac/wiki/wiki/TracInaction
http://wiki.moligu.com/doku.php?do=export_raw&id=%E6%89%8B%E5%86%8C:dokuwiki
http://www.blogjava.net/pepsixp/archive/2007/06/14/DokuWiki.html
# 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
Order allow,deny
Deny from all
Satisfy All
## Uncomment these rules if you want to have nice URLs using
## $conf[‘rewrite‘] = 1 - not needed for rewrite mode 2
RewriteEngine 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} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) doku.php?id=$1 [QSA,L]
RewriteRule ^index.php$ doku.php
# chown apache:apache /var/www/html/.htaccess
WIN2K的IE中输入:http://10.10.7.246/wiki/
注册oice帐号,在oice2008@126.com中能收到密码邮件,安装成功
参考资料:
http://www.ichiayi.com/wikipage/tech/dokuwiki
http://sinosmond.com/guide/dokuwiki/dokuwiki_install
http://www.wiztek.cn/trac/wiki/wiki/TracInaction
http://wiki.moligu.com/doku.php?do=export_raw&id=%E6%89%8B%E5%86%8C:dokuwiki
http://www.blogjava.net/pepsixp/archive/2007/06/14/DokuWiki.html
DokuWiki安裝过程 --- CentOS
CentOS简介
CentOS Pub --- 纯中文 CentOS 攻略站
硬盘安装CentOS
FAQ-General - CentOS
centos开启samba服务
CentOS Pub --- 纯中文 CentOS 攻略站--vi 编辑器
CentOS Pub --- 纯中文 CentOS 攻略站--vi 编辑器
CentOS 与 RHEL 的关系
CentOS 常见问答集 FAQ
磁盘操作的CentOS常用命令
利用 GRUB4DOS 安裝 Linux
APT 的安裝、使用
管窥4A创意“后厨”——国安DDB为百事“新益代”创意过程解析
快速建構DHCP Service (For CentOS)
常见Linux版本有哪些?CentOS是什么?
快速建構DHCP Service (For CentOS)
oracle安装中的问题(centos 4.8)
CentOS yum源设定使用方法的整理
CentOS下fdisk分区、格式化、挂载新硬盘
國內速度最快的CentOS源
国內速度最快的CentOS源
RHEL使用CentOS的yum源
安裝及架設VPN-PPTP