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.