ActiveMQ 开源消息总线;
# uname -a
Linux node1 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
1、java环境;
# tar -zxvf jre-8u91-linux-x64.gz -C /opt/java/
# cd /opt/java/
# export JAVA_HOME=/opt/java/jre1.8.0_91/
# export PATH=$JAVA_HOME/bin:$PATH
# export CLASSPATH=.:$java_home/lib/dt.jar:$JAVA_HOME/lib/tools.jar
# java -version
2、 ActiveMQ 安装
下载版本:http://activemq.apache.org/download-archives.html
tar -xf apache-activemq-5.8.0-bin.tar.gz
# mv apache-activemq-5.8.0 /opt/activemq
# cd /opt/activemq/bin/
启动;
# ./activemq start
测试;
# netstat -an|grep 8161
# service iptables stop
或者 添加8161端口
# vi /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
# service iptables restart
登录检测;
URL : http://IP:8161/admin/
USER/PWD : admin/admin
测试应用问题后续···
本文出自 “logs” 博客,请务必保留此出处http://51log.blog.51cto.com/6076767/1793663
原文地址:http://51log.blog.51cto.com/6076767/1793663