Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
test@wilma:~/install> ls -la
insgesamttotal 13763
drwxr-xr-x    2 test users       88 2014-05-22 11:24 .
drwxr-xr-x  140 test users    18392 2014-05-22 11:24 ..
-rw-r--r--    1 test users 1405952021997010 2014-0512-2219 1119:2435 jade_client.1.68.4043tar.targz

2. Unzip JADE installer

Code Block
languagebash
test@wilma:~/install> tar -xvf jade_client.1.6.40438.tar
jade_client.1.6.40438/install_jade_client.txt
jade_client.1.6.40438/jade_client.1.8.jar
jade_client.1.6.40438/jade_client_install.xml
jade_client.1.6.40438/licence.gpl
jade_client.1.6.40438/setup.sh

test@wilma:~/install> ls
jade_client.1.6.4043  jade_client.1.6.4043.tar8

test@wilma:~/install> cd jade_client.1.6.4043/8

test@wilma:~/install/jade_client.1.6.4043>8> ls -la
insgesamt 13741
drwxr-xr-x.  2 test users     4096 208 2014-05-22 11:24Jan 15 12:08 .
drwxr-xrdrwxrwxr-x.  3 test users     4096 128 2014-05-22Jan 15 11:2457 ..
-rw-r--r--.  1 test users     1589 2014-02-121620 Dec 19 15:2824 install_jade_client.txt
-rw-r--r--.  1 test users 14023086 2014-02-1222123297 Dec 19 15:2824 jade_client.1.8.jar
-rw-r--r--.  1 test users     1176 2012-10-29 11:391173 Jan 15 12:08 jade_client_install.xml
-rw-r--r--.  1 test users    17986 17987 2012-10-29 11:39Dec 19 15:24 licence.gpl
-rwxr-xr-x.  1 test users     2839 2800 2014-02-12Dec 19 15:2824 setup.sh

3. Prepare installer parameter file

  • Change the installpath tag in jade_client_install.xml and set the absolute installation path where you want to install JADE.
Code Block
languagebash
test@wilma:~/install/jade_client.1.6.4043> vi jade_client.xml
test@wilma:~/install/jade_client.1.6.4043> more jade_client.
jade_client.: Datei oder Verzeichnis nicht gefunden
test@wilma:~/install/jade_client.1.6.4043> more jade_client.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
XML configuration file for JADE Client setup

If you call the setup with this XML file then
you accept at the same time the terms of the
GNU GPL 2.0 License agreement (see licence.gpl or
http://www.gnu.org/licenses/gpl-2.0.html)
-->
<AutomatedInstallation langpack="eng">
    <com.izforge.izpack.panels.UserInputPanel id="home">
        <userInput/>
    </com.izforge.izpack.panels.UserInputPanel>
    <com.izforge.izpack.panels.HTMLLicencePanel id="licence"/>
    <com.izforge.izpack.panels.TargetPanel id="target">

        <!-- SELECT THE INSTALLATION PATH
             The path must be absolute!
             Default paths are
             /opt/sos-berlin.com/jade/client for Unix
             C:\Program Files\sos-berlin.com\jade\client for Windows -->
        <installpath>/home/test/sos-berlin.com/jade</installpath>

    </com.izforge.izpack.panels.TargetPanel>
    <com.izforge.izpack.panels.InstallPanel id="install"/>
    <com.izforge.izpack.panels.ProcessPanel id="process"/>
    <com.izforge.izpack.panels.FinishPanel id="finish"/>
</AutomatedInstallation>

...

  • The setup.sh script calls sudo to get root permissions. It is strongly recommended that you are not logged in as root as root permissions are not mandatory to install JADE.
  • If you want to start the installer without root permissions , then you can execute setup.sh with the -u option.
Code Block
languagebash
[test@wilma:~/install/ jade_client.1.6.4043>8-RC1]$ ./setup.sh -u jade_client_install.xml
javasudo -Dizpack.mode=privilegedE java -jar "./jade_client.1.8-RC1.jar" jade_client_install.xml
[sudo] password for test:
[ Starting automated installation ]
[ Starting to unpack ]
[ Processing package: package.jade_client (1/1) ]
[ Unpacking finished ]
[ Starting processing ]

+-----------------------------------------------------------
|   Update jar files in ./lib
+-----------------------------------------------------------
... trying to delete obsolete jar files
... trying to install new SOS jar files
... trying to update 3rd-party jar files
... done
+-----------------------------------------------------------
|   Change owner in /home/test/sos-berlin.com/jade/jade_client.1.8 to test
+-----------------------------------------------------------
... the user group of "test" is "test".
... done
[ Processing finished ]
[ Writing the uninstaller data ... ]
[ Automated installation done ]
test@wilma:~/install/jade_client.1.6.4043>

5. Check JADE

Code Block
languagebash
test@wilma:~/install/jade_client.1.6.4043>8> cd /home/test/sos-berlin.com/jade/jade_client.1.8
test@wilma:~/sos-berlin.com/jade> ls
ThirdParty.txt  Uninstaller  bin  examples  lib  licence.gpl  logs  old.jade_client.1.6.4043  readme.txt
test@wilma:~/sos-berlin.com/jade> cd bin/
test@wilma:~/sos-berlin.com/jade/bin> ls
jade-test1.sh  jade.sh  jade4dmz.sh  log4j.properties
test@wilma:~/sos-berlin.com/jade/bin> ./jade.sh --version

[main] INFO  11:27:21,028com.sos.DataExchange.SOSDataExchangeEngineMain   INFO (SOSDataExchangeEngineMain.java:103) ::Execute - SOSDataExchange - Main Kommandozeilenprogramroutine startetstarted .... -- 1.6.40438 (2014-0212-12T12:41:37.671+010019 13:22, revision 09c84ab471c46ee84989ed6f0a728ebd347ea1b2) Copyright 2003-20132014 SOS GmbH Berlin