知识管理DokuWiki


DokuWiki是一个针对小公司文件需求而开发的Wiki引擎。DokuWiki是用程序设计语言PHP开发的并以GPL 2发布。DokuWiki基于文本存储,所以不需要数据库,其数据文件在Wiki系统外也是可读的。DokuWiki的功能齐全,支持UTF-8,最新版支持中文链接。能够单独编辑页面中的某个章节,能够自动生成目录,适合中小企业、个人使用,用作资料归档、指南、读书笔记等。DokuWiki安装很简单,默认提供配置工具。
DokuWiki Installation
There are separate upgrade instructions if you have an existing installation.
Installing DokuWiki is very easy - in general it's just a matter of unpacking and setting permissions. You should first try to follow the simple instructions given here, if you encounter problems or the instructions are not detailed enough for you, follow one of the links below.
    * Step 1: Download the newest release from the Download Page.
    * Step 2: Read the security page before you begin installing. Take it seriously. If in doubt, ask on the mailing list
    * Step 3: Unpack the distribution tarball and upload/copy the files to your webspace.
    * Step 4: Open the install.php file in your browser and follow the instructions. (For additional information, see the installer page.)
    * Step 5: Enjoy your DokuWiki install and browse through the manual to discover what you can do with it.
A screencast of installing DokuWiki shows installation to a shared web hosting provider, but it may be useful for other situations as well.
Joomla! 是基于 php+mysql 模式的快速建站系统,是开源的 CMS 全站系统。借助 joomla 可以迅速搭建起动态网站。它属于Portal(企业入口网站)类型,顾名思义,就是比较适合作为商业类型的网站程序。
APACHE配置
Alias /doku /opt/doku
<Directory "/opt/doku">
    Options FollowSymLinks
    AllowOverride All
    Require all granted
    <IfModule mod_php5.c>
        php_value max_execution_time 300
        php_value memory_limit 256M
        php_value post_max_size 32M
        php_value upload_max_filesize 20M
        php_value max_input_time 300
        php_value always_populate_raw_post_data -1
        # php_value date.timezone Europe/Riga
    </IfModule>
</Directory>
        <LocationMatch "/(data|conf|bin|inc)/">
            order allow,deny
            deny from all
            satisfy all
        </LocationMatch>

NGINX
server {
    listen      80;
    listen      [::]:80;
    listen      443 ssl http2;
    listen      [::]:443 ssl http2;
    server_name doku.blizzmi.local;
    root    "/volume1/web/dokuwiki";
    index    index.html  index.htm  index.cgi  index.php  index.php5 ;
    error_page 400 401 402 403 404 405 406 407 408 500 501 502 503 504 505 @error_page;
    location @error_page {
        root /var/packages/WebStation/target/error_page;
        rewrite ^ /$status.html break;
    }
    location ~ /(data|conf|bin|inc)/ {
        deny all;
    }
    location ~* \\.(php[345]?|phtml)$ {
        fastcgi_pass unix:/run/php-fpm/php-89376b87-a261-408d-81dd-e04bef9c604d.sock;
        fastcgi_param HOST "doku.blizzmi.local";
        include fastcgi.conf;
    }
    include /usr/local/etc/nginx/conf.d/7fcfb8a9-6313-4c06-8b72-6dedcf12d362/user.conf*;
}



md5-39b6b49e3537c0fe04e1a258b772b098



插件
Add New Page
Indexmenu Plugin

页面模板
{{NEWPAGE}}
{{indexmenu>.#2}}

cvg预览
vi conf/mime.conf
svg     image/svg+xml