Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
linux:dokuwiki:install [2011/09/17 03:32] matthieu [Installation de Dokuwiki] |
linux:dokuwiki:install [2012/06/17 20:12] (Version actuelle) matthieu [Exemple de configuration générée] |
||
---|---|---|---|
Ligne 36: | Ligne 36: | ||
Pour le rendre accessible à tous, il faut modifier "allow from" : | Pour le rendre accessible à tous, il faut modifier "allow from" : | ||
- | <file> | + | <file apache> |
Alias /dokuwiki /usr/share/dokuwiki | Alias /dokuwiki /usr/share/dokuwiki | ||
<Directory /usr/share/dokuwiki/> | <Directory /usr/share/dokuwiki/> | ||
Ligne 57: | Ligne 57: | ||
Installer les sources dans le répertoire de votre choix, par exemple ///opt/dokuwiki/// : | Installer les sources dans le répertoire de votre choix, par exemple ///opt/dokuwiki/// : | ||
<code> | <code> | ||
- | :/opt# tar -zxvf /root/dokuwiki-2008-05-05.tgz | + | :/opt# tar -zxvf /root/dokuwiki-2012-01-25a.tgz |
- | dokuwiki-2008-05-05/ | + | dokuwiki-2012-01-25a/ |
- | dokuwiki-2008-05-05/.htaccess.dist | + | dokuwiki-2012-01-25a/lib/ |
- | dokuwiki-2008-05-05/README | + | dokuwiki-2012-01-25a/lib/styles/ |
- | dokuwiki-2008-05-05/index.php | + | dokuwiki-2012-01-25a/lib/styles/screen.css |
- | dokuwiki-2008-05-05/install.php | + | dokuwiki-2012-01-25a/lib/styles/all.css |
- | dokuwiki-2008-05-05/COPYING | + | dokuwiki-2012-01-25a/lib/styles/print.css |
- | dokuwiki-2008-05-05/doku.php | + | dokuwiki-2012-01-25a/lib/styles/index.html |
- | dokuwiki-2008-05-05/VERSION | + | dokuwiki-2012-01-25a/lib/styles/feed.css |
- | dokuwiki-2008-05-05/bin/ | + | dokuwiki-2012-01-25a/lib/plugins/ |
- | dokuwiki-2008-05-05/bin/.htaccess | + | ... |
- | dokuwiki-2008-05-05/bin/indexer.php | + | |
- | .... | + | |
- | :/opt# mv dokuwiki-2008-05-05/ dokuwiki | + | |
:/opt# l | :/opt# l | ||
total 4 | total 4 | ||
- | drwxr-xr-x 7 matthieu Debian-exim 4096 2008-05-05 19:10 dokuwiki | + | drwxr-xr-x 7 matt matt 4096 19 avril 12:17 dokuwiki-2012-01-25a |
+ | :/opt# mv dokuwiki-2012-01-25a/ dokuwiki | ||
+ | :/opt# l | ||
+ | total 4 | ||
+ | drwxr-xr-x 7 matt matt 4096 19 avril 12:17 dokuwiki | ||
:/opt# | :/opt# | ||
</code> | </code> | ||
Ligne 85: | Ligne 86: | ||
Exemple : | Exemple : | ||
<code> | <code> | ||
- | :/opt# chown -R matthieu:matthieu dokuwiki/ | + | :/opt# chown -R matt:matt dokuwiki/ |
- | :/opt# chown matthieu:www-data dokuwiki/ | + | :/opt# chown matt:www-data dokuwiki/ |
:/opt# chmod 750 dokuwiki/ | :/opt# chmod 750 dokuwiki/ | ||
:/opt# cd dokuwiki/ | :/opt# cd dokuwiki/ | ||
Ligne 93: | Ligne 94: | ||
:/opt/dokuwiki# chown www-data lib/plugins/ | :/opt/dokuwiki# chown www-data lib/plugins/ | ||
:/opt/dokuwiki# l | :/opt/dokuwiki# l | ||
- | total 92 | + | total 100 |
- | drwxr-xr-x 2 matthieu matthieu 4096 7 nov. 17:43 bin | + | drwxr-xr-x 2 matt matt 4096 19 avril 12:09 bin |
- | drwxr-xr-x 2 www-data matthieu 4096 7 nov. 17:43 conf | + | drwxr-xr-x 2 www-data matt 4096 19 avril 12:09 conf |
- | -rw-r--r-- 1 matthieu matthieu 17992 7 nov. 17:43 COPYING | + | -rw-r--r-- 1 matt matt 18092 19 avril 12:09 COPYING |
- | drwxr-xr-x 10 www-data matthieu 4096 7 nov. 17:43 data | + | drwxr-xr-x 12 www-data matt 4096 19 avril 12:09 data |
- | -rw-r--r-- 1 matthieu matthieu 2185 7 nov. 17:43 doku.php | + | -rw-r--r-- 1 matt matt 2290 19 avril 12:12 doku.php |
- | -rw-r--r-- 1 matthieu matthieu 11730 7 nov. 17:43 feed.php | + | -rw-r--r-- 1 matt matt 17037 19 avril 12:09 feed.php |
- | -rw-r--r-- 1 matthieu matthieu 1526 7 nov. 17:43 .htaccess.dist | + | -rw-r--r-- 1 matt matt 1526 19 avril 11:36 .htaccess.dist |
- | drwxr-xr-x 6 matthieu matthieu 4096 7 nov. 17:43 inc | + | drwxr-xr-x 6 matt matt 4096 19 avril 12:12 inc |
- | -rw-r--r-- 1 matthieu matthieu 182 7 nov. 17:43 index.php | + | -rw-r--r-- 1 matt matt 182 19 avril 11:36 index.php |
- | -rw-r--r-- 1 matthieu matthieu 17428 7 nov. 17:43 install.php | + | -rw-r--r-- 1 matt matt 17781 19 avril 12:09 install.php |
- | drwxr-xr-x 9 matthieu matthieu 4096 7 nov. 17:43 lib | + | drwxr-xr-x 8 matt matt 4096 19 avril 12:09 lib |
- | -rw-r--r-- 1 matthieu matthieu 306 7 nov. 17:43 README | + | -rw-r--r-- 1 matt matt 306 19 avril 12:09 README |
- | -rw-r--r-- 1 matthieu matthieu 22 7 nov. 17:43 VERSION | + | -rw-r--r-- 1 matt matt 20 19 avril 12:12 VERSION |
- | :/opt/dokuwiki# l lib/ | + | :/opt/dokuwiki# l lib |
- | total 32 | + | total 28 |
- | drwxr-xr-x 2 matthieu matthieu 4096 7 nov. 17:43 exe | + | drwxr-xr-x 2 matt matt 4096 19 avril 12:09 exe |
- | drwxr-xr-x 2 matthieu matthieu 4096 7 nov. 17:43 _fla | + | drwxr-xr-x 8 matt matt 4096 19 avril 12:09 images |
- | drwxr-xr-x 8 matthieu matthieu 4096 7 nov. 17:43 images | + | -rw-r--r-- 1 matt matt 376 19 avril 11:36 index.html |
- | -rw-r--r-- 1 matthieu matthieu 376 7 nov. 17:43 index.html | + | drwxr-xr-x 10 www-data matt 4096 19 avril 12:02 plugins |
- | drwxr-xr-x 9 www-data matthieu 4096 7 nov. 17:43 plugins | + | drwxr-xr-x 3 matt matt 4096 19 avril 12:09 scripts |
- | drwxr-xr-x 2 matthieu matthieu 4096 7 nov. 17:43 scripts | + | drwxr-xr-x 2 matt matt 4096 19 avril 12:09 styles |
- | drwxr-xr-x 2 matthieu matthieu 4096 7 nov. 17:43 styles | + | drwxr-xr-x 3 matt matt 4096 19 avril 12:09 tpl |
- | drwxr-xr-x 3 matthieu matthieu 4096 7 nov. 17:43 tpl | + | |
:/opt/dokuwiki# l .. | :/opt/dokuwiki# l .. | ||
- | total 12 | + | total 4 |
- | drwxr-x--- 7 matthieu www-data 4096 7 nov. 17:43 dokuwiki | + | drwxr-x--- 7 matt www-data 4096 19 avril 12:17 dokuwiki |
:/opt/dokuwiki# | :/opt/dokuwiki# | ||
</code> | </code> | ||
Ligne 127: | Ligne 127: | ||
Par exemple, en créant le fichier ///etc/apache2/sites-available/dokuwiki// suivant : | Par exemple, en créant le fichier ///etc/apache2/sites-available/dokuwiki// suivant : | ||
- | <file> | + | <file apache> |
Alias /wiki /opt/dokuwiki | Alias /wiki /opt/dokuwiki | ||
<Directory /opt/dokuwiki/> | <Directory /opt/dokuwiki/> | ||
Ligne 183: | Ligne 183: | ||
===== Exemple de configuration générée ===== | ===== Exemple de configuration générée ===== | ||
- | <file> | + | <file php> |
<?php | <?php | ||
/* | /* | ||
Ligne 189: | Ligne 189: | ||
* Auto-generated by config plugin | * Auto-generated by config plugin | ||
* Run for user: matthieu | * Run for user: matthieu | ||
- | * Date: Sun, 02 Jan 2011 23:14:53 +0100 | + | * Date: Sun, 17 Jun 2012 20:07:40 +0200 |
*/ | */ | ||
- | $conf['title'] = 'www.bouthors.fr'; | + | $conf['title'] = 'Bouthors.fr'; |
$conf['lang'] = 'fr'; | $conf['lang'] = 'fr'; | ||
+ | $conf['template'] = 'arctic-mbo'; | ||
$conf['license'] = 'cc-by-sa'; | $conf['license'] = 'cc-by-sa'; | ||
$conf['breadcrumbs'] = 5; | $conf['breadcrumbs'] = 5; | ||
Ligne 202: | Ligne 203: | ||
$conf['disableactions'] = 'register'; | $conf['disableactions'] = 'register'; | ||
$conf['sneaky_index'] = 1; | $conf['sneaky_index'] = 1; | ||
+ | $conf['subscribers'] = 1; | ||
+ | $conf['cachetime'] = -1; | ||
+ | $conf['sitemap'] = 1; | ||
// end auto-generated content | // end auto-generated content | ||
+ | |||
</file> | </file> | ||