DokuWiki is available in the official Debian repository and is installable through the usual Debian tools.
The official Debian package of DokuWiki can be installed using apt as follows:
# apt-get update # apt-get install dokuwiki
if you want to install the last package,
# cd /tmp # wget http://http.us.debian.org/debian/pool/main/d/dokuwiki/dokuwiki_0.0.20080505-3_all.deb # dpkg -i dokuwiki_0.0.20080505-3_all.deb
For a full access from the lan or from internet, edit the /etc/apache/conf/dokuwiki.conf file and change 127.0.0.0 to All for Apache2: /etc/apache2/conf.d/dokuwiki.conf
For a full config that includes login and adminstration from within the wiki you have to enable ACL and change some configs. You need root privileges to use the commands.
chown -R www-data /etc/dokuwiki/
chown -R www-data /usr/share/dokuwiki/lib/
cp /etc/dokuwiki/acl.auth.php.dist /var/lib/dokuwiki/acl/acl.auth.php
cp /etc/dokuwiki/users.auth.php.dist /var/lib/dokuwiki/acl/users.auth.php
Please report bugs in the package using the Debian bug tracking system. See also the current list of bugs.
Packaging DokuWiki includes some issues to be dealt with to make the package compliant with the Debian policy.
/usr/share/dokuwiki and the data directory in /var/lib/dokuwiki. The natural place for the configuration files under conf/ in the original source is /etc/dokuwiki. However, the user authentication database file acl.auth.php and users.auth.php can't be under /etc since they need to be writable by the web server. For this reason they are located to /var/lib/dokuwiki/acl.Feel free to ask questions here:
Where does Debian put the data dirs?
Under /var/lib/dokuwiki as the Debian Policy instructs.
Can you briefly list all steps necessary for multiple (separate) installations sharing the codebase?
A multisite/wikifarm solution for the Debian package is now the #2 item on the TODO list right after releasing the latest upstream version officially.
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported