Wiki: PHP-based DokuWiki

Source: Internet
Author: User
The main open source wiki for PHP is:

mediawiki:php

dokuwiki:php


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

Install Apache2 and PHP:

sudo Apt-get Install apache2 libapache2-mod-php5
Refer to Apache configuration.


Install DokuWiki:

sudo a2enmod rewrite
sudo cp? A Doku .../var/www/
Cd/var/www
Tar zxvf Doku ...-c DokuWiki
chown -R Www-data:www-data/var/www/dokuwiki


To modify a path:

sudo VI /etc/apache2/sites-enabled/000*.conf

Documentroot/var/www/html→documentroot/var/www/dokuwiki


Modify Permissions:

sudo VI /etc/apache2/apache2.conf
: Allow Override none→allowoverride all


Restart Apache2:

sudo service apache2 restart


In the Web installation:

http://IP-address-of-your-server/install.php toinitially Configure your DokuWiki.


After installation is complete, delete:

sudo RM /var/www/dokuwiki/install.php


Security settings:

Data Conf Bin Inc These four directories are not accessible through the 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


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

Configuration of the Doku:

Doku configuration file in/var/www/dokuwiki/conf/


Master files are typically managed by DokuWiki, and local files are created by administrators.

That is, we need to create and modify the local locally file to configure.


dokuwiki.php: Master configuration file

local.php: Local File


Local.protected.php: protection is not subject to change


plugins.php: Default Plug-in

plugins.local.php: Plugin Administrator modified

plugins.required.php: Core Plugins

plugins.protected.php: Override Settings


user.auth.php: User account password

acl.auth.php: Access Control rules

mediameta.php: Editable meta-data

license.php: Available Licenses


Mime.conf: Rules for uploading files

ACRONYMS.CONF: Auto Indent hint

smileys.conf: Image Supplement

entities.conf: Text Supplement

Interwiki.conf: Shortcuts

Scheme.conf:url Solutions

WORDBLOCK.CONF: Junk Mailing List


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

DokuWiki plug-in and template management:


Manual installation is the download decompression to the following path and then chown for Www-data:

/var/www/dokuwiki/lib/tpl used to install the template

/var/www/dokuwiki/lib/plugins to install plugins

Automatic installation is the template management installation on the DokuWiki Web page.

  • 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.