DokuWiki

It's better when it's simple

Outils pour utilisateurs

Outils du site


fr:install:debian

Ceci est une ancienne révision du document !


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

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 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 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.

fr/install/debian.1361197695.txt.gz · Dernière modification : 2013-02-18 15:28 de 212.99.10.150

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki