Dokuwiki

introduction

It is a simple wiki platform which we can make a notebook in a company,or a knowledge base for ourself.The most insteresting thing is the data in dokuwiki stored in a txt file,and it is easy for us to backup and transfer by using an zipped file!

install

install the system environment;

we need php and nginx;I can’t give you any suggestions for your situation!expect your system just for wiki;

install you wiki in your cloud;

  • Firstly,you should config you web service that we can access;
  • get the wiki packege
git clone https://github.com/splitbrain/dokuwiki.git
  • URL Rewrite

apache

RewriteEngine on
RewriteBase /dokuwiki
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]

nginx

    rewrite ^/_media/(.*) /lib/exe/fetch.php?media=1 last;
    rewrite ^/_detail/(.*) /lib/exe/detail.php?media=1 last;
    rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_1&id=2 last;
    rewrite ^//doku.php last;
if (!-frequest_filename){
    set rule_4 1rule_4;
}
if (!-d request_filename){
    setrule_4 2rule_4;
}
if (rule_4 = "21"){
    rewrite /(.*) /doku.php?id=$1 last;
}
  • config admin
    login in your admin panel and set up things like this picture in advance settings;

  • config email
    install pulgin:smtp plugin

Background config as follows:

  • support Markdown

It’s awsome to write someting by using MarkDown without mouse!

  • Install Plugin: Markdown Page

  • How to use ?
    We just edit it by using tag as follows,it can survived in many times!

<markdown>

content

</markdown>

My wiki


要不赞赏一下?

微信
支付宝
PayPal
Bitcoin

版权声明 | Copyright

除非特别说明,本博客所有作品均采用知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议进行许可。转载请注明转自-
https://blog.emperinter.info/2020/09/03/dokuwiki.html


September 2020
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
282930