Page 1 of 1

Running JADE on Gentoo Linux

Posted: Fri Aug 07, 2009 2:52 pm
by ConvertFromOldNGs
by allistar >> Mon, 6 Sep 2004 4:25:33 GMT

Hi all,
I have successfully gotten a JADE database up and running on a Gentoo Linux system. I know this configuration isn't officially supported by Jade but SLES8 didn't recognise our SATA drives and I am more familiar with a Gentoo install anway. This is for a proof-of-concept and technology demo, so choosing a non-supported platform is not an issue. This is running a 2.6.8-r3 Linux kernel.

Here are some quick instructions in case anyone else wants to try it:

Prerequisites:
- make sure you have rpm2targz installed
- make a user called "jade"
- make a group called "jade". Put the "jade" user in this group.
- make sure "acl" is in your USE flags. If not add it and "emerge coreutils".
- make sure /usr/lib/libcrypto.0.9.6 exists. If libcrypto.0.9.7 is there instead then do a:
ln -s libcrypto.so.0.9.7 libcrypto.so.0.9.6
- make sure /usr/lib/libssl.0.9.6 exists. If libssl.0.9.7 is there instead then do a:
ln -s libssl.so.0.9.7 libssl.so.0.9.6

Installation:
- copy the contents of the SUSE cd to ~/SUSE

cd ~/SUSE/RPMS
su
#break open and extract the JADE rpms
rpm2targz JADE-6.0.19.008-suse-linux-ansi-rte.i686-1.rpm
tar -xvzf JADE-6.0.19.008-suse-linux-ansi-rte.i686-1.tar.gz
rpm2targz JADE-6.0.19.008-suse-linux-ansi.i686-1.rpm
tar-xvzf JADE-6.0.19.008-suse-linux-ansi.i686-1.tar.gz
rpm2targz JADE-6.0.19.008-suse-linux-ansi-devel.i686-1.rpm
tar-xvzf JADE-6.0.19.008-suse-linux-ansi-devel.i686-1.tar.gz
rpm2targz JADE-6.0.19.008-suse-linux-ansi-devdata.i686-1.rpm
tar-xvzf JADE-6.0.19.008-suse-linux-ansi-devdata.i686-1.tar.gz
rpm2targz JADE-6.0.19.008-microsoft-win32-ansi.i686-1.rpm
tar -xvzf JADE-6.0.19.008-microsoft-win32-ansi.i686-1.tar.gz
rpm2targz JADE-6.0.19.008-microsoft-win32-ansi-thinclient.i686-1.rpm
tar -xvzf JADE-6.0.19.008-microsoft-win32-ansi-thinclient.i686-1.tar.gz #copy this to the /opt directory
cp -rv opt/* /opt
cd /opt/jade/images/6.0.19.008
mv i686-suse-linux i686--linux

- install JADE with the following command

cd i686--linux/ansi/bin
.../jadeinstall -i /home/$user/jade -v 6.0.19.008 --rte
.../jadeinstall -i /home/$user/jade -v 6.0.19.008 --devel
.../jadeinstall -i /home/$user/jade -v 6.0.19.008 --devdata

(where $user is the home directory of the user you want to install it to).

Note down the port number and service names given to the JADE installation.

Register the jade system like this:

cd ~/jade/bin
jadregb.sh path=~/jade/system name=\"Company name\" key=32-character-key

The system can now be started with this command:

~/jade/jaded.sh

This seems to work fine, I can connect to this system as a fat client from a Windows 98 installation.

I hope this helps soemone,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------