Installation » History » Version 12
chin-yeh, 07/25/2011 05:50 PM
1 | 2 | chin-yeh | {{toc}} |
---|---|---|---|
2 | |||
3 | 1 | chin-yeh | h1. Installation |
4 | 2 | chin-yeh | |
5 | Describes how to install the required software. |
||
6 | |||
7 | 3 | chin-yeh | h2. Jboss AS 5.1.0 GA |
8 | 2 | chin-yeh | |
9 | *Required:* |
||
10 | * JDK 6.0 or above |
||
11 | * RHEL ES 3.0 or above |
||
12 | |||
13 | *Steps:* |
||
14 | # Download the installer from: |
||
15 | 3 | chin-yeh | ** <code>/home/support/install/installer/jboss-5.1.0.GA.zip</code> from <code>cwyrnd3-server</code> server; *Or* |
16 | 2 | chin-yeh | ** "Jboss Downloads":http://www.jboss.org/jbossas/downloads |
17 | # Login as jboss user |
||
18 | # Unzip the installer |
||
19 | <pre> |
||
20 | $ unzip jboss-5.1.0.GA.zip |
||
21 | </pre> |
||
22 | 3 | chin-yeh | # Move the folder, *jboss-5.1.0.GA* to */opt* |
23 | 1 | chin-yeh | <pre> |
24 | $ mv jboss-5.1.0.GA /opt |
||
25 | 3 | chin-yeh | </pre> |
26 | 4 | chin-yeh | # Done. |
27 | 3 | chin-yeh | |
28 | h2. HornetQ 2.1.2.Final |
||
29 | |||
30 | *Required:* |
||
31 | * Jboss AS 5.1.0 GA |
||
32 | * JDK 6.0 or above |
||
33 | * RHEL ES 3.0 or above |
||
34 | |||
35 | *Steps:* |
||
36 | # Download the installer from: |
||
37 | ** <code>/home/support/install/installer/hornetq-2.1.2.Final.tar.gz</code> from <code>cwyrnd3-server</code> server; *Or* |
||
38 | ** "HornetQ Downloads":http://www.jboss.org/hornetq/downloads.html |
||
39 | # Login as jboss |
||
40 | # Uncompress the installer |
||
41 | <pre> |
||
42 | $ tar -xvzf hornetq-2.1.2.Final.tar.gz |
||
43 | </pre> |
||
44 | # Move the folder, *hornetq-2.1.2* to */opt* |
||
45 | <pre> |
||
46 | $ mv hornetq-2.1.2 /opt |
||
47 | </pre> |
||
48 | # Set the environment property <code>JBOSS_HOME</code>: |
||
49 | <pre> |
||
50 | $ export JBOSS_HOME=/opt/jboss-5.1.0.GA |
||
51 | </pre> |
||
52 | # execute the build script to build the Jboss AS profile: |
||
53 | <pre> |
||
54 | $ /opt/hornetq-2.1.2/config/jboss-as-5/build.sh |
||
55 | 2 | chin-yeh | </pre> |
56 | 12 | chin-yeh | # <code>cd</code> to */opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x64* |
57 | <pre> |
||
58 | $ cd /opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x64 |
||
59 | </pre> |
||
60 | ## rename the *libHornetQAIO64.so* to *libHornetQAIO.so* |
||
61 | <pre> |
||
62 | $ mv libHornetQAIO64.so libHornetQAIO.so |
||
63 | </pre> |
||
64 | # <code>cd</code> to */opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x86* |
||
65 | <pre> |
||
66 | $ cd /opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x86 |
||
67 | </pre> |
||
68 | ## rename the *libHornetQAIO32.so* to *libHornetQAIO.so* |
||
69 | <pre> |
||
70 | $ mv libHornetQAIO32.so libHornetQAIO.so |
||
71 | </pre> |
||
72 | 4 | chin-yeh | # Done. |
73 | 5 | chin-yeh | |
74 | h2. Qconnector Batch |
||
75 | |||
76 | # Create the following directories: |
||
77 | <pre> |
||
78 | 10 | chin-yeh | /opt/ecosway/daemon/qconnector |
79 | /opt/ecosway/daemon/qconnector/classes |
||
80 | /opt/ecosway/daemon/qconnector/config |
||
81 | /opt/ecosway/daemon/qconnector/lib |
||
82 | /opt/ecosway/daemon/qconnector/reports |
||
83 | /opt/ecosway/daemon/qconnector/scripts |
||
84 | 5 | chin-yeh | </pre> |
85 | 6 | chin-yeh | # Obtain the following *DB2 JDBC type 4* jar files from administrator: |
86 | ** db2jcc.jar |
||
87 | ** db2jcc_license_cu.jar |
||
88 | # upload the *DB2 JDBC type 4* jar files to: |
||
89 | 10 | chin-yeh | <pre>/opt/ecosway/daemon/qconnector/lib</pre> |
90 | 5 | chin-yeh | # Done. |
91 | 8 | chin-yeh | |
92 | 9 | chin-yeh | h2. Housekeeping Folder |
93 | |||
94 | Create the following folder(s): |
||
95 | <pre> |
||
96 | 10 | chin-yeh | /opt/ecosway/housekeeping/scripts |
97 | 9 | chin-yeh | </pre> |
98 | |||
99 | 8 | chin-yeh | h2. Log Folder |
100 | |||
101 | Create the following folder(s) to keep log files: |
||
102 | <pre> |
||
103 | 11 | chin-yeh | /var/ecwyconnector-daemon/ |
104 | 8 | chin-yeh | </pre> |