Download and installation

edit

For a quick start, we have prepared a bash shell script that starts all the necessary components on one machine. We will use this script throughout this quickstart manual to allow you to get a feel for what the system can do and how it works without having to deal with issues of distributing to other servers.

Base system required

For the quick startup, NetarchiveSuite requires

To check that you have the right version of Java do the following

Downloading

Download of the newest release is described here

Note: Instead of downloading a NetarchiveSuite.zip you can also build itself from the SVN trunk:

JMS

NetarchiveSuite uses JMS for inter-process communication. JMS is the Java Messaging Service, which provides asynchronous communication between processes. You do not need any knowledge of JMS to use NetarchiveSuite. However you need to make sure that there are not already JMS brokers running on your system using PORT 7676.

Currently only the open-source version of Sun's JMS implementation is supported, since some functionality of other implementations does not match our assumptions well.

To download and install it, do the following:

To start it, do the following:

Configuration

Assuming a releasezipball of NetarchiveSuite NetarchiveSuite*.zip  is available in the directory ~/netarchive, you must do the following to configure the NetarchiveSuite for your system:

RunNetarchiveSuite.sh

deploy_standalone_example.xml

The first script is a simple script for doing all the steps during deployment. It takes a NetarchiveSuite package ('.zip'), a configuration file (the second file), and a temporary installation directory as arguments (in the given order). The different ports used by the application for communication are included in the deploy_standalone_example.xml file.

In the configuration file all the applications are placed on one machine (e.g. the current machine, localhost). When the installation script is run from the indicated deploy directory ~/netarchive/$DEPLOY_DIR and it will be installed into the localhost:/home/test/$INSTALL_DIR directory (using ssh). It assumes that user 'test' already exists. Remember to check, that a Sun JVM is in the path for the test (instead of GNU java compiler, that is default with some Linux'es.). If you already have a Quickstart installation the existing bitarchive, database and admin.data files will be untouched. You must explicit remove any previous installation, if you want a clean empty installation.

We will use 'deploy' as the $DEPLOY_DIR and 'Quickstart' as the $INSTALL_DIR in the rest of the guide. Remember to edit the deploy_standalone_example.xml, so the setting environmentName is set to Quickstart. The default value is USER.

cd ~/netarchive
bash RunNetarchiveSuite.sh NetarchiveSuite.zip deploy_standalone_example.xml deploy/
#if you have not setup your ssh keygen correctly, you need to login some times before the installation finish successfully. You must also have permission to ssh and scp to localhost ( try e.g "ssh localhost" and "scp somefile localhost:")

The script creates a deployment folder named "Quickstart" in e.g. /home/test/Quickstart, which contains methods for starting and stopping NetarchiveSuite, and starts the whole NetarchiveSuite. The files to run the installation will be placed in the ~/netarchive/deploy dir

Choose in the firefox toolbar:
Edit->Preferences->Advanced->Network->Settings
Checkmark:
Manual Proxy Configuration
and add:
Proxy: localhost
Port: 8070
No Proxy for: localhost, kb-test-way-001.kb.dk

cd /home/test/Quickstart
./killall_NATIONAL_LIBRARY.sh
./startall_NATIONAL_LIBRARY.sh

Quick Start Manual 3.16/Download and installation (last edited 2011-05-02 11:23:10 by MikisSethSorensen)