Differences

This shows you the differences between two versions of the page.

Link to this comparison view

public:dokuwiki-install [2019/01/16 10:03] (current)
Line 1: Line 1:
 +====== Doku wiki install ======
 +
 +Follow this guidelines to install a new wiki. Read it carefully,
 +then go through the steps outlined below:
 +
 +[[http://​www.dokuwiki.org/​Install|Install]]
 +
 +====== Prepare wiki ======
 +
 +===== Copy dokuwiki files and set permissions =====
 +
 +  ssh web
 +  cd /​home/​www/​ssl
 +  cp -r /​root/​dokuwiki-2010-xx-xxx name-of-the-new-wiki
 +  cd name-of-the-new-wiki
 +  chown -R :www-data conf data
 +  chmod g+w conf data
 +  chmod -R g+w conf data
 +
 +===== Add new wiki to apache2 config =====
 +
 +  vi /​etc/​apache2/​sites-available/​default-ssl
 +
 +<​code>​
 +### start wiki name-of-the-new-wiki ###
 +alias /itreps /​home/​www/​ssl/​name-of-the-new-wiki
 +
 +<​Directory /​home/​www/​ssl/​name-of-the-new-wiki>​
 +        RewriteEngine on
 +        RewriteBase /​name-of-the-new-wiki
 +        RewriteRule ^_media/​(.*) ​             lib/​exe/​fetch.php?​media=$1 ​ [QSA,L]
 +        RewriteRule ^_detail/​(.*) ​            ​lib/​exe/​detail.php?​media=$1 ​ [QSA,L]
 +        RewriteRule ^_export/​([^/​]+)/​(.*) ​    ​doku.php?​do=export_$1&​id=$2 ​ [QSA,L]
 +        RewriteRule ^$                        doku.php ​ [L]
 +        RewriteCond %{REQUEST_FILENAME} ​      !-f
 +        RewriteCond %{REQUEST_FILENAME} ​      !-d
 +        RewriteRule (.*)                      doku.php?​id=$1 ​ [QSA,L]
 +        RewriteRule ^index.php$ ​              ​doku.php
 +</​Directory>​
 +
 +### end wiki name-of-the-new-wiki ###
 +</​code>​
 +
 +  apache2ctl graceful
 +
 +Go to wiki page for basic conf file
 +
 +https://​www.inf.unibz.it/​name-of-the-new-wiki
 +
 +
 +===== Edit Basic config file =====
 +
 +  vi /​home/​www/​ssl/​name-of-the-new-wiki/​conf/​local.php
 +
 +
 +
 +
 +  ​
 +  ​
 +
  
/var/www/wiki.inf.unibz.it/data/pages/public/dokuwiki-install.txt · Last modified: 2019/01/16 10:03 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0