Difference between revisions of "DokuWiki"

From Alpine Linux
Jump to: navigation, search
(Created page with '== 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 docu...')
 
m (minor layout changes)
Line 10: Line 10:
 
== Install lighttpd, PHP ==
 
== Install lighttpd, PHP ==
  
  apk add lighttpd php  
+
{{Cmd|apk add lighttpd php }}
  
 
== Configuring Lighttpd==
 
== Configuring Lighttpd==
Line 16: Line 16:
 
'''Edit lighttpd.conf'''
 
'''Edit lighttpd.conf'''
  
nano +46 /etc/lighttpd/lighttpd.conf
+
{{Cmd|nano +46 /etc/lighttpd/lighttpd.conf}}
  
 
Uncomment line:
 
Uncomment line:
Line 28: Line 28:
 
* Go to web folder
 
* Go to web folder
  
cd /var/www/localhost/htdocs/
+
{{Cmd|cd /var/www/localhost/htdocs/}}
  
 
* Download  
 
* Download  
  
wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2009-12-25c.tgz
+
{{Cmd|wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2009-12-25c.tgz}}
  
 
* Unpack
 
* Unpack
  
tar zxvf dokuwiki-2009-12-25c.tgz  
+
{{Cmd|tar zxvf dokuwiki-2009-12-25c.tgz }}
mv dokuwiki-2009-12-25 dokuwiki
+
{{Cmd|mv dokuwiki-2009-12-25 dokuwiki}}
  
 
== Starting ==
 
== Starting ==
Line 43: Line 43:
 
'''Starting http and server and adding to boot'''
 
'''Starting http and server and adding to boot'''
  
/etc/init.d/lighttpd start && rc-update add lighttpd default
+
{{Cmd|/etc/init.d/lighttpd start && rc-update add lighttpd default}}
  
 
Browse  
 
Browse  
Line 49: Line 49:
  
 
You have DokuWiki working, to access go to http://WEBSERVER_IP_ADDRESS/dokuwiki and enjoy!
 
You have DokuWiki working, to access go to http://WEBSERVER_IP_ADDRESS/dokuwiki and enjoy!
 
EOF
 

Revision as of 09:35, 15 June 2011

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!