环境:LAMP或者LNMP,链接如下
LNMP.
LAMP.
下载dokuwiki包:https://www.dokuwiki.org/dokuwiki
使用rz上传到Centos
解压到指定目录
tar zxf dokuwiki-8a269cc015a64b40e4c918699f1e1142.tgz -C /data/server/httpd/htdocs/
修改配置文件
vim /data/server/httpd/conf/httpd.conf
#在最后添加以下的内容
</IfModule>
<Directory /data/server/httpd/htdocs/dokuwiki>
order deny,allow
allow from all
</Directory>
<LocationMatch "(data|conf|bin|inc)/">
order allow,deny
deny from all
satisfy all
</LocationMatch>
重启apache
apachectl restart
网页验证
IP/dokuwiki/install.php
右上角zh为中文