Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Define profiles into ini file
General
JADE Installation
- JADE can be installed using the interactive
...
- installer GUI
...
- for Windows and Linux
...
- servers (with X-Servers).
...
- JADE can be installed from the command line using an installer parameter file.
1. Download JADE installer
- Download the JADE
...
- Client and transfer it to the server.
...
- You could use wget to download JADE directly on
...
- that server.
Code Block | ||
---|---|---|
| ||
test@wilma:~/install> ls -la insgesamt 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 14059520 2014-05-22 11:24 jade_client.1.6.4043.tar |
2. Unzip JADE installer
Code Block | ||
---|---|---|
| ||
test@wilma:~/install> tar -xvf jade_client.1.6.4043.tar jade_client.1.6.4043/install_jade_client.txt jade_client.1.6.4043/jade_client.jar jade_client.1.6.4043/jade_client.xml jade_client.1.6.4043/licence.gpl jade_client.1.6.4043/setup.sh test@wilma:~/install> ls jade_client.1.6.4043 jade_client.1.6.4043.tar test@wilma:~/install> cd jade_client.1.6.4043/ test@wilma:~/install/jade_client.1.6.4043> ls -la insgesamt 13741 drwxr-xr-x 2 test users 208 2014-05-22 11:24 . drwxr-xr-x 3 test users 128 2014-05-22 11:24 .. -rw-r--r-- 1 test users 1589 2014-02-12 15:28 install_jade_client.txt -rw-r--r-- 1 test users 14023086 2014-02-12 15:28 jade_client.jar -rw-r--r-- 1 test users 1176 2012-10-29 11:39 jade_client.xml -rw-r--r-- 1 test users 17987 2012-10-29 11:39 licence.gpl -rwxr-xr-x 1 test users 2800 2014-02-12 15:28 setup.sh |
3. Prepare installer parameter file
- Change the installpath tag in jade_client.xml and set the absolute installation path
...
- where you want to install JADE.
Code Block | ||
---|---|---|
| ||
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> |
4. Run the installer
- 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 | ||
---|---|---|
| ||
test@wilma:~/install/jade_client.1.6.4043> ./setup.sh -u jade_client.xml java -Dizpack.mode=privileged -jar "./jade_client.jar" jade_client.xml [ Starting automated installation ] [ Starting to unpack ] [ Processing package: package.jade_client (1/1) ] [ Unpacking finished ] [ Starting processing ] +----------------------------------------------------------- | Update jar files in ./lib +----------------------------------------------------------- ... done [ Processing finished ] [ Writing the uninstaller data ... ] [ Automated installation done ] test@wilma:~/install/jade_client.1.6.4043> |
5. Check JADE
Code Block | ||
---|---|---|
| ||
test@wilma:~/install/jade_client.1.6.4043> cd /home/test/sos-berlin.com/jade 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,028 INFO (SOSDataExchangeEngineMain.java:103) ::Execute SOSDataExchange - Kommandozeilenprogram startet .... -- 1.6.4043 (2014-02-12T12:41:37.671+0100) Copyright 2003-2013 SOS GmbH Berlin |