User Tools

Site Tools


wiki-offline-en

Versione ItalianaVersion FrançaiseDeutsche VersionDutch VersionEnglish Version

Wiki Offline


Purpose

The Rocrail documentation local offline option in case Internet is not available at the model railroad location.
Note: This documentation is a snapshot of the online documentation.

Windows

See the German Page.

An English translation will follow.


PiOS-11

Install Apache

sudo apt-get install apache2 php7.4 libapache2-mod-php7.4 php7.4-curl php-xml

Reboot the Raspberry Pi to make php-xml active.


Download DokuWiki

cd ~/Downloads
wget http://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
tar -xvzf dokuwiki-stable.tgz 
sudo mv dokuwiki /var/www/html/dokuwiki
sudo chown -R www-data:www-data /var/www/html/dokuwiki/


Setup DokuWiki

Open in the WEB Browser http://localhost/dokuwiki/install.php to setup the Wiki and Admin.
Take note of the admin userid and password because later on its needed to setup the plugins and settings.


Download the Rocrail Wiki

wget https://wiki.rocrail.net/rocrail-snapshot/RocrailDokuWiki.zip
unzip RocrailDokuWiki.zip 
 
sudo cp -r dokuwiki/data /var/www/html/dokuwiki/
sudo chown -R www-data:www-data /var/www/html/dokuwiki/

This can also be used to update the local Rocrail Wiki.

Further settings

External access

http://<RaspberryPi Name or IP>/dokuwiki/doku.php
wiki-offline-en.txt · Last modified: 2024/01/03 09:57 by rjversluis