Project

General

Profile

Installation Guide » History » Version 2

chin-yeh, 12/28/2011 11:11 AM

1 2 chin-yeh
{{toc}}
2
3 1 chin-yeh
h1. Installation Guide
4 2 chin-yeh
5
Install the following software:
6
* Jboss AS 5.1.0 GA
7
* HornetQ 2.1.2.Final
8
9
h2. Jboss AS 5.1.0 GA
10
11
_Required:_
12
* JDK 6.0 or above
13
* RHEL ES 3.0 or above
14
15
_Steps:_
16
# Download the installer from:
17
** <code>/home/support/install/installer/jboss-5.1.0.GA.zip</code> from <code>cwyrnd3-server</code> server; *Or*
18
** "Jboss Downloads":http://www.jboss.org/jbossas/downloads
19
# Login as jboss user
20
# Unzip the installer
21
<pre>
22
$ unzip jboss-5.1.0.GA.zip
23
</pre>
24
# Move the folder, *jboss-5.1.0.GA* to */opt*
25
<pre>
26
$ mv jboss-5.1.0.GA /opt
27
</pre>
28
# Done.
29
30
h2. HornetQ 2.1.2.Final
31
32
_Required:_
33
* Jboss AS 5.1.0 GA
34
* JDK 6.0 or above
35
* RHEL ES 3.0 or above
36
37
_Steps:_
38
# Download the installer from:
39
** <code>/home/support/install/installer/hornetq-2.1.2.Final.tar.gz</code> from <code>cwyrnd3-server</code> server; *Or*
40
** "HornetQ Downloads":http://www.jboss.org/hornetq/downloads.html
41
# Login as jboss
42
# Uncompress the installer
43
<pre>
44
$ tar -xvzf hornetq-2.1.2.Final.tar.gz
45
</pre>
46
# Move the folder, *hornetq-2.1.2* to */opt*
47
<pre>
48
$ mv hornetq-2.1.2 /opt
49
</pre>
50
# Set the environment property <code>JBOSS_HOME</code>:
51
<pre>
52
$ export JBOSS_HOME=/opt/jboss-5.1.0.GA
53
</pre>
54
# execute the build script to build the Jboss AS profile:
55
<pre>
56
$ /opt/hornetq-2.1.2/config/jboss-as-5/build.sh
57
</pre>
58
# <code>cd</code> to */opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x64*
59
<pre>
60
$ cd /opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x64
61
</pre>
62
## rename the *libHornetQAIO64.so* to *libHornetQAIO.so*
63
<pre>
64
$ mv libHornetQAIO64.so libHornetQAIO.so
65
</pre>
66
# <code>cd</code> to */opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x86*
67
<pre>
68
$ cd /opt/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x86
69
</pre>
70
## rename the *libHornetQAIO32.so* to *libHornetQAIO.so*
71
<pre>
72
$ mv libHornetQAIO32.so libHornetQAIO.so
73
</pre>
74
# Done.