与tomcat类似
1.上传安装包,安装包下载地址:http://apache.fayea.com/
2.解压缩到/usr/activemq目录下
3.启动
#bin/activemq start
4.查看状态
#bin/activemq status
5.关闭
#bin/activemq stop
6.完成安装,浏览器浏览http://192.168.100.2:8161
7.若点击querys报405,则修改host配置文件
#vim /etc/hosts
配置ip与机器名的对应关系(机器名可见vim /etc/sysconfig/network文件)
注:activemq 5.12版本对应jdk1.7版本,若jdk为1.8,则应安装activemq 5.15版本