5.3. Unpack BELTS

Unpack BELTS into a directory of your choosing using the appropriate tool for your platform.

Linux:

$ cd /usr/local
$ tar xvzf /mnt/cdrom/belts-1.2.0.tgz [substitute actual file location]
$ ln -s belts-1.2.0 belts
$ chown -R belts.belts belts*

Windows:

Use Winzip or similar program to unzip the BELTS distribution into the desired directory

The belts-1.2.0 directory created above will be known as BELTS_HOME for the rest of this procedure. It is helpful to add this variable to your platform's environment for ease of navigation, as follows.

Linux:

$ export BELTS_HOME=/usr/local/belts-1.2.0

Windows:

C:\> set BELTS_HOME=c:\belts-1.2.0

If you downloaded the minimal installation package, you will need to copy the unpacked files over a JBoss Version 4.0.1 installation.

Linux:

$ cd /usr/local/jboss [substitute actual location]
$ cp -R /usr/local/belts-1.2.0/* .

Under Windows use Windows Explorer to copy the belts-1.2.0 directory contents over the contents of your jboss-4.0.1 directory, electing to overwrite files if they already exist.

You now need to set BELTS_HOME to point to your JBOSS_HOME directory, as follows:

Linux:

$ export BELTS_HOME=$JBOSS_HOME

Windows:

C:\> set BELTS_HOME=%JBOSS_HOME%