Linuxinstall Activemq 5.14.1 in the
1 , download related ActiveMQ Install package
Download path:http://activemq.apache.org/download.html
Download the latest installation package and select Linux for download
2 , unzip rename
( 1 ) Decompression:
# TAR-ZXVF Apache-activemq-5.14.1-bin.tar.gz-c/usr/local
( 2 ) Rename ActiveMQ
# MV apache-activemq-5.14.1 ACTIVEMQ
( 3 ) because the startup script ACTIVEMQ No executable permission required (this step is optional)
# CD activemq/bin/
# chmod 755 ACTIVEMQ
ACTIVEMQ Two ports required: 61616 8161 ( Manage the backend ports in conf/jetty.xml )
( 4 ) Open both ports in the firewall
# Vim/etc/sysconfig/iptables
-A input-m state--state new-m tcp-p TCP--dport 8161-j ACCEPT
-A input-m state--state new-m tcp-p TCP--dport 61616-j ACCEPT
( 5 ) Restart the firewall:
# Service Iptables Restart
3 , start ActiveMQ
#./BIN/ACTIVEMQ Start
4 , verify that the installation is successful
#./BIN/ACTIVEMQ Status
Info:loading '/opt/activemq//bin/env '
info:using Java '/opt/jdk1.7.0_99/bin/java '
ActiveMQ is running (PID ' 3535 ')
5 , close / Restart ActiveMQ
#./BIN/ACTIVEMQ stop#./bin/activemq restart
#./BIN/ACTIVEMQ Status
6 , login management background
Http://192.168.11.123:8161/admin
The default initial user name and password are admin and admin.
At this point the installation of ACTIVEMQ is successful!
This article is from the "Flower Asahi Blog" blog, please be sure to keep this source http://huazhixu123.blog.51cto.com/1591874/1949817
Installation Activemq 5.14.1 in Red Hat Linux6.8