DokuWiki

From Alpine Linux
Revision as of 09:16, 12 March 2012 by Dubiousjim (talk | contribs) (Category:Networking)

What is DokuWiki?

DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at creating documentation of any kind.

Set up DokuWiki on Alpine Linux

This document will be a quick c/p guide to setup DokuWiki on Alpine linux. What we will setup is the following:

  • Lighttpd with PHP
  • DokuWiki

Install lighttpd, PHP

apk add lighttpd php

Configuring Lighttpd

Edit lighttpd.conf

nano +46 /etc/lighttpd/lighttpd.conf

Uncomment line:

include "mod_fastcgi.conf"

Installing DokuWiki

Install DokuWiki

  • Go to web folder

cd /var/www/localhost/htdocs/

  • Download

wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2009-12-25c.tgz

  • Unpack

tar zxvf dokuwiki-2009-12-25c.tgz

mv dokuwiki-2009-12-25 dokuwiki

Starting

Starting http and server and adding to boot

/etc/init.d/lighttpd start && rc-update add lighttpd default

Browse http://WEB_IP_ADDRESS/dokuwiki

You have DokuWiki working, to access go to http://WEBSERVER_IP_ADDRESS/dokuwiki and enjoy!