Wiki: php-based dokuwiki

Source: Internet
Author: User
Wiki: php-based open-source wiki for dokuwiki php mainly includes:

Mediawiki: php

Dokuwiki: php


######################################## ####################

Install apache2 and php:

SudoApt-getInstallApache2 libapache2-mod-php5
Refer to apache configuration.


Install dokuwiki:

SudoA2enmod rewrite
Sudo cp? A doku... /Var/www/
Cd/var/www
Tar zxvf doku... -C dokuwiki
Chown-R www-data: www-data/var/www/dokuwiki


Modify path:

SudoVi/Etc/apache2/sites-enabled/000 *. conf

DocumentRoot/var/www/html → DocumentRoot/var/www/dokuwiki


Modify permissions:

SudoVi/Etc/apache2/apache2.conf
: Allow Override None → AllowOverride All


Restart apache2:

SudoService apache2 restart


Install on the web:

Http: // IP-address-of-your-server/install. php toinitially configure your DokuWiki.


Delete after installation:

SudoRm/Var/www/dokuwiki/install. php


Security settings:

Data conf bin inc these four directories cannot be accessed through web (http and https.


Add the following configuration in/etc/apache2/apache2.conf:


Order deny, allow
Allow from all



Order allow, deny
Deny from all
Satisfy all


######################################## ####################

Doku configuration:

The doku configuration file is in/var/www/dokuwiki/conf/


The main file is usually managed by dokuwiki, and some files are created by the administrator.

That is, we need to create and modify a local file for configuration.


Dokuwiki. php: main configuration file

Local. php: local file


Local. protected. php: protection is not changed


Plugins. php: default plug-in

Plugins. local. php: modified by the plug-in administrator

Plugins. required. php: Core plug-in

Plugins. protected. php: overwrite settings


User. auth. php: user account password

Acl. auth. php: Access control rules

Mediameta. php: editable metadata

License. php: available license


Mime. conf: Rules for uploading files

Acronyms. conf: Auto Indent prompt

Smileys. conf: Image supplement

Entities. conf: Text Supplement

Interwiki. conf: Shortcut

Scheme. conf: url scheme

Wordblock. conf: spam list


######################################## ####################

Dokuwiki plug-ins and template management:


For manual installation, download and decompress the package to the following path, and chown is www-data:

/Var/www/dokuwiki/lib/tpl for template installation

/Var/www/dokuwiki/lib/plugins to install plug-ins

Automatic installation is to manage and install templates on the web page of dokuwiki.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.