=====Steps to build Dokuwiki server=====
The following information will be needed:
Superuser:
* User name = admin/root
* Real name = Administrator/root
* E-Mail = postmaster@qclug.com
* Password = ?
* Documentation License: ?
* Install Apache and PHP:
apt-get update
apt-get install apache2 libapache2-mod-php5 php5-gd
NOTE: Apache is configured to run as www-data in /etc/apache2/envvars:
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
* Download and Extract Dokuwiki:
cd /var/www
wget http://download.dokuwiki.org/out/dokuwiki-382d0ca15f9eeceea6bc3c0c5a145a62.tgz
tar xf dokuwiki-382d0ca15f9eeceea6bc3c0c5a145a62.tgz
chown -R www-data:www-data dokuwiki
cd dokuwiki
* Configure Apache:
If you want Dokuwiki to be your default site for the configured interface simply modify /etc/apache2/sites-enabled/000-default:
cp -p /etc/apache2/sites-available/default /etc/apache2/sites-available/default.orig
vi /etc/apache2/sites-enabled/000-default
If you already have a default site simply create a new vhost config file under /etc/apache2/sites-available/dokuwiki and run:
cp -p /etc/apache2/sites-available/default /etc/apache2/sites-available/dokuwiki
a2ensite dokuwiki
vi /etc/apache2/sites-enabled/dokuwiki
* Change DocumentRoot and both directives to use dokuwiki web-root
* Add ServerName hostname.domain line
* Remove cgi-bin ScriptAlias and directives
* Change AllowOverride from None to all in directive
* Enable Apache rewrite rules:
a2enmod rewrite
/etc/init.d/apache2 restart
* Install Dokuwiki:
* Browse to site URL/install.php
* Complete the installation form and finish
* Delete install.php once complete