1.上传ActiveMQ
2.解压
tar -axvf apache-activemq-5.16.0-bin.tar.gz
3.解压后的目录
4.进入bin目录,输入如下命令启动ActiveMQ
./activemq start
5.查看是否已启动ActiveMQ
./activemq status
6.修改conf/jetty.xml文件,把127.0.0.1修改成0.0.0.0,然后重启(如果无法访问8161端口)
7.关闭防火墙(如果无法访问8161端口)
service iptables stop
service iptables status
8.访问8161端口