Giter VIP home page Giter VIP logo

lockssomatic_vagrant's Introduction

Introduction

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.

Prerequisites

Install the following prerequisites on your laptop or desktop:

  1. VirtualBox
  2. Vagrant

Setting up your virtual machine

  1. git clone https://github.com/mjordan/lockssomatic_vagrant
  2. cd lockssomatic_vagrant
  3. vagrant up

When all the scripts have finished running, the LOCKSS daemon will be installed, as will LOCKSS-O-Matic.

Running the test Private LOCKSS Network (PLN)

This VM can run the "test framework" PLN described at https://plnwiki.lockss.org/index.php?title=Testing_Frameworks. To run this PLN:

  1. ssh into the VM as the vagrant user (see below)
  2. cd ~/lockss-daemon/test/frameworks/run_multiple_daemons
  3. run ./start (to shutdown the daemons later, run ./stop)
  4. 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, and http://localhost:8084. Log into you boxes with lockss-u and lockss-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

Accessing LOCKSS-O-Matic

  1. go to http://localhost:8000/lom/web/app.php
  2. 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.....

Looging into the VM's via SSH

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.

Thanks

This Vagrant virtual machine is inspired by the Islandora Vagrant.

lockssomatic_vagrant's People

Contributors

mjordan avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.