Saturday, December 5, 2015

ActiveMQ - How to install ActiveMQ

■ Download a ActiveMq from Apache 
$ wget http://www.eu.apache.org/dist/activemq/5.13.0/apache-activemq-5.13.0-bin.tar.gz
--2015-12-05 00:09:13--  http://www.eu.apache.org/dist/activemq/5.13.0/apache-activemq-5.13.0-bin.tar.gz
Resolving www.eu.apache.org (www.eu.apache.org)... 2a01:4f8:130:2192::2, 88.198.26.2
Connecting to www.eu.apache.org (www.eu.apache.org)|2a01:4f8:130:2192::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 53613208 (51M) [application/x-gzip]
Saving to: ‘apache-activemq-5.13.0-bin.tar.gz’

100%[==================================================================================>] 53,613,208  43.2KB/s   in 10m 33s

2015-12-05 00:19:47 (82.7 KB/s) - ‘apache-activemq-5.13.0-bin.tar.gz’ saved [53613208/53613208]
■ Decompress the tar file.
$ tar xvf ./apache-activemq-5.13.0-bin.tar.gz
■ Move the ActiveMq to where you like
$ mv ./apache-activemq-5.13.0 ../activemq
■ Choose the commend on your os.
$ cd /usr/local/activemq/bin/linux-x86-64
■ Start the ActiveMq
$ ./activemq start
Starting ActiveMQ Broker...
■ You can monitor ActiveMQ
http://127.0.0.1:8161/admin

■ Stop the ActiveMq
$ ./activemq stop Stopping ActiveMQ Broker...
Stopped ActiveMQ Broker.

No comments:

Post a Comment