Translations of this page?:

DokuWiki packaged for Debian

DokuWiki is available in the official Debian repository and is installable through the usual Debian tools.

News

Install

The official Debian package of DokuWiki can be installed using apt as follows:

# apt-get update
# apt-get install dokuwiki

Lenny Install

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.

  1. copy /etc/dokuwiki/local.php.dist to /etc/dokuwiki/local.php and edit according to your local needs. Make sure, the option useacl is enabled.
  2. allow www-data to read and write the config files
    • chown -R www-data /etc/dokuwiki/
    • chown -R www-data /usr/share/dokuwiki/lib/
  3. copy the disabled examples of authentification files to where dokuwiki expects them:
    • 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

Bugs

Please report bugs in the package using the Debian bug tracking system. See also the current list of bugs.

Issues

Packaging DokuWiki includes some issues to be dealt with to make the package compliant with the Debian policy.

  • File locations The page files are located at /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.
  • Removing buttons Due to feedback, the CC and PayPal buttons in the page footer were removed.

Questions and answers

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.

 
install/debian.txt · Last modified: 2008/11/13 23:56 by 70.103.232.219
 

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported

Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsTranslate