Prototyping 2020.01.13
Revision as of 08:02, 13 January 2020 by Andre Castro (talk | contribs)
- Mediawiki as archive and editorial space
- Project where MW serves as backed to other reading interfaces (static and dynamic)
- Mondotheque
- PZI Graduation website
- Warp Weft Memory
- Tonnelstof
Access to sandbox Pi
- url: http://hub.xpub.nl/sandbox
- tinc IP: 10.0.0.11
How to SSH to HUB nodes
On the user's personal machine (where the public key was generated) just:
ssh -J xpub.nl:2501 $IP
If for any reason it doesnt work, please send us the output of:
ssh -J xpub.nl:2501 $IP -vvv
~/.ssh/config
Here is a ssh configuration which should allow you to ssh easily from your local machine to one of the Hub nodes
using only:
ssh hub.nodename
By adding to ~/.ssh/config the following configuration, and changing with the correct details:
Host hub.nodename User username Hostname 10.0.0.XXX ProxyJump username@xpub.nl:2501 Identityfile ~/.ssh/id_rsa Serveraliveinterval 30
Where:
- nodename: is the name you would like to give this node of hub.
- XXX: termination if node's IP
- username: your username in the Pi and Xpub server (should be the same)
- ~/.ssh/id_rsa location of the private keys
Mediawiki install:
Follow instructions at https://www.mediawiki.org/wiki/Manual:Installation_guide
Dependencies installed:
- webserver: Apache
- PHP7.3 + necessary extensions
- imagemagick
- MYSQL server
- create db & db user for wiki
Install MediaWiki
- Download MW .tar.gz folder to the the html/ dir of this machine, usually `/var/www/html`
- untar `tar xfvz mediawiki-1.34.0.tar.gz`
- change the name on the resulting mw directory, for instance
superwiki
- in the browser go to
IP.of.server/superwiki
for browser based installer - install extensions:
- wikieditor
- OATHAuth
Post Installation
- image uploads
- enable images upload to designate location (inside MW directory)
- define formats allowed
- define maximum size of uploads
- in MW LocalSettings.php
- in php.ini
- extensions
https://www.mediawiki.org/wiki/Download
- Media: mounted disk
- Populate manually
- image file
- description
- Pull the URL from Files + Files text content from images