Skip to content
kub1x edited this page Nov 28, 2014 · 3 revisions

Welcome to the dokuwiki wiki!

Technical info

Directories on server

  • it lives in: /var/www/dokuwiki
  • which is linked from: /var/www/master/dokuwiki
  • it's git repository was once downloaded (using deploy script) into: /var/www/git-projects/dokuwiki
  • subdirectory www contains the dokuwiki data, the rest is for deploy script etc
  • the Galaxy authplaincas plugin lives in: /var/www/dokuwiki/lib/plugins/authplaincas/
  • the file install.php in dokuwiki_root was deleted right after installation was performed

Configuration

  • Galaxy

  • seznam sekci: authplaincas/plaincas.settings.php

  • nastaveni pripojeni do galaxy (nebylo treba menit): authplaincas/conf/default.php

  • soubor dokuwiki_root/conf/local.php !!!

    $conf['superuser'] = '@ISC_CTU_in_Prague.webmaster,
    @ISC_CTU_in_Prague.regularBoardMember'; // <- originally @admin' $conf['authtype'] = 'authplaincas'; // <- originally 'authplain'

  • that's about it

  • ACL - acces controll list

  • it sleeps in conf/acl.auth.php, but it's better edited directly from wiki

Installation

  • cd /var/www

  • wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz

  • tar xvf dokuwiki-stable.tgz

  • rm dokuwiki-stable.tgz

  • mv dokuwiki-2014-09-29 dokuwiki

  • cd master

  • ln -s ../dokuwiki dokuwiki

  • from web browser go to: http://www.isc.cvut.cz/dokuwiki/install.php

  • go through the installation process

  • cd dokuwiki

  • rm install.php

  • actually I downloaded the dokuwiki locally

  • unpacked it into local git repo,

  • commited in here

  • created deploy script in: /var/www/deploy/conf/dokuwiki.json { "GitFolder":"dokuwiki", "GitName":"dokuwiki", "WebFolder":"dokuwiki", "WebRootFolder":"www" }

  • deployed using: http://deploy.isc.cvut.cz/?project=dokuwiki

  • and then just copied so that the files are in /var/www/dokuwiki/ as I realized the deploy script isn't really worth it at the moment

  • it's easier to keep backup of the entire directory in /var/www/.dokuwiki~

Clone this wiki locally