Difference between revisions of "User:Paul/sandbox/Install Dokuwiki to OpenBSD"

From UNPM.org Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
== Configuration ==
 
== Configuration ==
  
The configuration is stored in the created file <code>/dokuwiki/conf/local.php</conf>. Since this file is not part of the Dokuwiki package files, it should not get overwritten when updating Dokuwiki.
+
The configuration is stored in the created file <code>/dokuwiki/conf/local.php</code>. Since this file is not part of the Dokuwiki package files, it should not get overwritten when updating Dokuwiki.
  
 
== Upgrading ==
 
== Upgrading ==
  
 
Since Dokuwiki is installed to the server
 
Since Dokuwiki is installed to the server

Revision as of 17:28, 15 February 2021

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