User:Paul/sandbox/Install Dokuwiki to OpenBSD

From UNPM.org Wiki
Jump to navigation Jump to search

The Dokuwiki project provides a very simple and highly functional wiki. Everything is stored in flat files so no database is required and it can be installed using the OpenBSD package manager.

Installation

Installing is as simple as it gets:

servername /home/username
$ doas pkg_add dokuwiki

The installed will install dokuwiki to /var/www/dokuwiki and will also install the required version of PHP for the installed version of Dokuwiki plus any additional required PHP packages.

Dokuwiki can use PHP to manage images, but a better solution is to install ImageMagick:

servername /home/username
$ doas pkg_add ImageMagick

Instead of running Dokuwiki from

Configuration

The configuration is stored in the created file /dokuwiki/conf/local.php</conf>. Since this file is not part of the Dokuwiki package files, it should not get overwritten when updating Dokuwiki.

Upgrading

Since Dokuwiki is installed to the server