Dokuwiki: installation and configuration

Source: Internet
Author: User

Dokuwiki: installation and configuration

Php open-source wiki 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:

sudo rm /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 or/usr/local/conf/httpd. conf:

# Allow access to the/var/www/dokuwiki/directory

order deny,allow

allow from all

# Forbidden access/var/www/dokuwiki/(data | conf | bin | inc)/directory

<locationmatch "="" (data|conf|bin|inc)="">

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.