ActiveMQ: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
rm activemq-cpp-library-3.8.2-src.tar | rm activemq-cpp-library-3.8.2-src.tar | ||
cd activemq-cpp-library-3.8.2-src | cd activemq-cpp-library-3.8.2-src | ||
./configure | ./configure --prefix=/usr/local | ||
make | make | ||
Line 32: | Line 32: | ||
'''NOTE2:''' on RHEL5/CentOS5 openssl-1.0.1e.tar.gz was installed by commands './config --prefix=/usr/local', 'make', 'make install' | '''NOTE2:''' on RHEL5/CentOS5 openssl-1.0.1e.tar.gz was installed by commands './config --prefix=/usr/local', 'make', 'make install' | ||
'''NOTE3:''' on RHEL5/CentOS5 | '''NOTE3:''' on RHEL5/CentOS5 if new openssl and apr not found, use flags '--with-openssl=/usr/local/ssl' and '--with-apr=/usr/local/apr' specifying actual ssl and apr locations |
Revision as of 12:51, 29 March 2017
Install Apache ActiveMQ
- Download ActiveMQ from http://activemq.apache.org, both the tar file and the key file.
- Copied both files to /usr/local/activemq.
- Verifying the checksum with PGP did not work on "halld-sc" computer. Ignored it for now.
- Untared the tar-file in the /usr/local/activemq directory.
- Go to /usr/local/activemq/apache-activemq-5.5.1 directory and start by issuing
sudo bin/activemq start
- When checking the port with netstat I get
halld-sc:apache-activemq-5.5.1> netstat -an | fgrep 61616 tcp 0 0 :::61616 :::* LISTEN
indicating that ActiveMQ is running.
Install C++ API
cd /usr/local/src cp /usr/downloads/activemq-cpp-library-3.8.2-src.tar . tar xvf activemq-cpp-library-3.8.2-src.tar rm activemq-cpp-library-3.8.2-src.tar cd activemq-cpp-library-3.8.2-src ./configure --prefix=/usr/local make
NOTE1: on RHEL5/CentOS5 apr-1.4.8.tar.gz was installed by commands './configure --prefix=/usr/local', 'make', 'make install'
NOTE2: on RHEL5/CentOS5 openssl-1.0.1e.tar.gz was installed by commands './config --prefix=/usr/local', 'make', 'make install'
NOTE3: on RHEL5/CentOS5 if new openssl and apr not found, use flags '--with-openssl=/usr/local/ssl' and '--with-apr=/usr/local/apr' specifying actual ssl and apr locations