centos7安装activeMQ

参考地址:http://www.cnblogs.com/gossip/p/5969925.html
1.去官网下载linux版本的包:http://activemq.apache.org/activemq-5140-release.html
2.安装activeMQ:
1.cd /opt 将tar.gz文件上传到这里;
2.解压缩 tar -zxvf apache-activemq-5.15.0-bin.tar.gz
3.启动:
cd /opt/apache-activemq-5.15.0/bin
./activemq start
这里写图片描述
netstat -anp|grep 61616
3.将端口开放
需要开放8161(web管理页面端口)、61616(activemq服务监控端口) 两个端口
firewall-cmd –zone=public –add-port=8161/tcp –permanent
firewall-cmd –zone=public –add-port=61616/tcp –permanent
firewall-cmd –reload
4.打开web管理页面
http://IP:8161/admin
admin/admin
这里写图片描述