阿里云centos7 activemq-5.15.12
1.下载软件
下载地址
http://activemq.apache.org/components/classic/download/
2.解压缩
tar -zxvf apache-activemq-5.15.12-bin.tar.gz
进入active目录下的bin目录
cd apache-activemq-5.15.12-bin.tar.gz/bin/
启动
./activemq start
查看启动状态
./activemq status
3.防火墙
1)添加端口:
(这两个端口号可以在activemq安装目录下conf目录中修改,jetty.xml中可修改8161,avtivemq.xml中可修改61616)
firewall-cmd --zone=public --add-port=61616/tcp --permanent
firewall-cmd --zone=public --add-port=8161/tcp --permanent
2)关闭防火墙
systemctl stop firewalld.service
3)启动防火墙
systemctl start firewalld.service
4)查看防火墙
firewall-cmd --zone=public --list-ports
出现: 61616/tcp 8161/tcp
4.添加安全组
5.运行
http://公网IP/admin/