Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.73 KB

README.md

File metadata and controls

71 lines (46 loc) · 1.73 KB

LSK - Semantic Mediawiki in a Vagrant Box

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:

Installation

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

View

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

Stop and Restart

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

For Deployment:

  • 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

TODO

  • webserver setting with include
    • wiki web path