ActiveMQ下载地址:http://activemq.apache.org/download-archives
1.gz文件拷贝到/usr/local/src目录
2.解压启动
tar -zxvf apache-activemq-5.14.0-bin.tar.gz
cd apache-activemq-5.14.0
cd bin
./activemq start //启动activemq
./activemq satus //查看activemq状态
./activemq stop //停止ActiveMQ
firewall-cmd --permanent --add-port=8161/tcp //添加端口到防火墙规则中
firewall-cmd --permanent --add-port=61616/tcp //添加端口到防火墙规则中
以上两个端口都必须要添加进去
firewall-cmd --reload //重启防火墙
http://IP:8161/admin 密码admin //登录查看图形化界面