Chapter 2. Installation

Table of Contents

2.1. Platforms supported by JIMS system:
2.2. Required environment
2.2.1. Java (i686)
2.2.2. Java (ia64)
2.3. How to get JIMS system?
2.3.1. Binary release
2.3.2. Source code
2.4. Compilation
2.5. Installation
2.5.1. Installation from RPMs
2.5.2. Installation from BZ2
2.5.3. Installation of JIMS service init script

2.1. Platforms supported by JIMS system:

  • Linux systems: supposed to run on any distribution based on 2.4 or 2.6 kernel.
  • Sun systems: Solaris 10.

2.2. Required environment

2.2.1. Java (i686)

Sun Microsystems HotSpot(TM) 1.5

2.2.2. Java (ia64)

BEA JRockit(R) 1.5

2.3. How to get JIMS system?

2.3.1. Binary release

Binary release is available at http://savannah.fzk.de/autobuild/module-JIMS.html in a form of RPM package (i2g-jims-rpm-3.0.0-1.noarch.rpm).

2.3.2. Source code

Source code is available at: http://savannah.fzk.de/svn/?group=jims.

2.4. Compilation

JIMS sources can be compiled using Maven 2 (version 2.0.7):

$mvn  
$mvn clean  (clean all temporary files)
$mvn install  (install in local maven2 repository)
$mvn assembly:directory  (unpacked)
$mvn assembly:assembly  (tar.bzip2)
$mvn javadoc:javadoc  (aggregated javadoc) 
$mvn site  (site + aggregated javadoc)

In order to open the project in Eclipse, we can easily set the M2_REPO variable using the following command:

$mvn -Declipse.workspace=`pwd` eclipse:add-maven-repo 

2.5. Installation

2.5.1. Installation from RPMs

Download the RPMs and run:

$rpm -Uvh i2g-jims-rpm-3.0.0-1.noarch.rpm

2.5.2. Installation from BZ2

There is also possibility to build the BZ2 package of JIMS. In such case we only have to unpack the archive.

$tar xvfj jims-3.0.0-bin.tar.bz2

2.5.3. Installation of JIMS service init script

We can use chkconfig to add the service to the init scripts and to start it automatically after operating system boot. After execution of the commands:

$chkconfig --add jims-agent
$service jims-agent start

the file $JIMS_HOME/etc/init.d/jims-agent should be linked to the file jims-agent in /etc/init.d directory.