DokuWiki is a wiki application licensed under GPLv2 and written in the PHP programming language. It works on plain text files and thus does not need a database. Its syntax is similar to the one used by MediaWiki. It was created by Andreas Gohr in June 2004. In July the first official release was published on Freshmeat (now known as Freecode). A big step in the development was the re-design of the parser and the renderer in January 2005. The new design was a big performance improvement and made DokuWiki usable for bigger documentation projects. It also prepared DokuWiki for an introduction of a generic plugin interface which simplified the development and maintenance of add-ons. A push of the level of awareness was the introduction of DokuWiki in the Linux distributions Debian in April and Gentoo Linux in July 2005. Since 2005, it has achieved significant usage. For more information please visit the DokuWiki Information page containing links to downloads and documentation.
1.) Update System.
As always you should make sure that the first thing you do when installing any software, is to make sure that your current software is up to date.
$ sudo apt-get update && sudo apt-get upgrade
2.) Install Dependencies.
We need to first install a few things along side the apache server, in fact we will be setting up a LAP server for running this wiki on the local network.
$ sudo apt-get install apache2 php7.0 php7.0-xml libapache2-mod-php7.0 php7.0-common gcc php-imagick imagemagick php-mbstring
6.) Additional Settings.
Dokuwiki also requires a few modifications, locate the line with ‘DocumentRoot /var/www/html’ in the Apache default config file and paste the below code just under it like so.
<Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/html/> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all </Directory>