Ceci est une ancienne révision du document !
Table des matières
Packages DokuWiki pour Debian
DokuWiki est disponible sur le site officiel de Debian et vous pouvez l'installer a l'aide des procédures classiques comme apt-get.
News
Flux RSS depuis le site Debian :
Installation
Le package officiel Debian de DokuWiki peut etre installé avec les commandes suivantes (en root):
# apt-get update # apt-get install dokuwiki
installation Lenny
si vous souhaitez installer la dernière version, faites plutôt :
# aptitude install php-geshi # cd /tmp # wget http://http.us.debian.org/debian/pool/main/d/dokuwiki/dokuwiki_0.0.20090214b-2_all.deb # dpkg -i dokuwiki_0.0.20090214b-2_all.deb
Pour un accés complet aux site depuis le LAN ou depuis internet, editez le fichier /etc/apache/conf/dokuwiki.conf (ou si vous utilisez apache2 : /etc/apache2/conf.d/dokuwiki.conf) et remplacez 127.0.0.0 par All
Vous aurez vraisemblablement à redémarrer apache(2) pour que les modifications soient prises en compte :
- (par sécurité)
apache2ctl configtest
apache2ctl graceful
Puis pour avoir un accés au pages de configutation depuis le site (et que les modification puissent être enregistré par Dokuwiki :
# chown -R www-data /etc/dokuwiki/ # chown -R www-data /usr/share/dokuwiki/lib/
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 underconf/
in the original source is/etc/dokuwiki
. However, the user authentication database fileacl.auth.php
andusers.auth.php
can't be under/etc
since they need to be writeable 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.