Github mirror: https://github.com/TIBHannover/LSK-Semantic-Mediawiki-Box
(IN PROGRESS)
Installs Mediawiki and Semantic Mediawiki(SMW) in Vagrant box
- Mediawiki version: 1.35 current long-term support (LTS)
- Semantic Mediawiki version: 3.2.3
Requirements to run box:
Run the following steps in Terminal (Linux/macOS) or GitBash (Windows):
git clone https://github.com/TIBHannover/LSK-Semantic-Mediawiki-Box.git
cd LSK-Semantic-Mediawiki-Box
vagrant up
Wiki User:
- user name:
Admin
- user password:
AdminPassword
After installation process has finished, visit Mediawiki at http://192.168.60.120/box/wiki
vagrant reload --provision
will re-run the Ansile playbook in the created Vagrant box
It is possible to shut down the virtual box and restart it again in order to save CPU and RAM.
# shut down
vagrant halt
# restart
vagrant reload --provision
In order to suspend the virtual box (save the state) use suspend and resume.
# save the state to disc
vagrant suspend
# resume from disc
vagrant resume
- look for default/main.yml vars with
# IN DEPLOYMENT: overwrite in host file
and write them in hosts file of deployment repos - variables that require overwriting can be found in hosts-box.yml
- Webserver: Nginx
- service configuration stored in
/etc/nginx/includes/mw.conf
- service configuration stored in
TODO
- webserver setting with include
- wiki web path