Dokuwiki
The Post Created(Updated) On 09/3/2020,Please note the timeliness of the article!
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
Copyright
Unless otherwise noted, all work on this blog is licensed under a Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) License. Reprinted with permission from -https://blog.emperinter.info/2020/09/03/dokuwiki