A virtual machine for testing the LOCKSS-O-Matic. It should work on any operating system that supports VirtualBox and Vagrant.
This virtual machine should not be used in production.
Install the following prerequisites on your laptop or desktop:
git clone https://github.com/mjordan/lockssomatic_vagrant
cd lockssomatic_vagrant
vagrant up
When all the scripts have finished running, the LOCKSS daemon will be installed, as will LOCKSS-O-Matic.
This VM can run the "test framework" PLN described at https://plnwiki.lockss.org/index.php?title=Testing_Frameworks. To run this PLN:
- ssh into the VM as the vagrant user (see below)
cd ~/lockss-daemon/test/frameworks/run_multiple_daemons
- run
./start
(to shutdown the daemons later, run./stop
) - after the daemons have started (which can take a minute, so be patient), you will be able to access their admin user interfaces at
http://localhost:8081
,http://localhost:8082
,http://localhost:8083
, andhttp://localhost:8084
. Log into you boxes withlockss-u
andlockss-p
.
If you get an error indicating that access to the admin UI is not allowed from your IP address, add the following line to ~/lockss-daemon/test/frameworks/run_multiple_daemons/lockss.txt
, specifying the IP address indicated in the error message:
org.lockss.ui.access.ip.include = 10.0.2.2
- go to
http://localhost:8000/lom/web/app.php
- log in with
[email protected]
/admin
.
LOCKSS-O-Matic comes prepopulated with a sample PLN comprised of the four boxes started following the instructions above.
Instructions on what to do next to follow.....
You can connect to the machine via ssh: ssh -p 2222 vagrant@localhost
and log in with:
- username: vagrant
- password: vagrant
or from within the lockssomatic_vagrant directory, you can use vagrant ssh
.
This Vagrant virtual machine is inspired by the Islandora Vagrant.