1、准备html
mkdir /usr/local/activemq cd /usr/local chown -R wh.wh activemq
tar -zxvf apache-activemq-5.15.0-bin.tar.gz
2、启动前端
cd bin ./activemq console
cd bin ./activemq start
3、测试安装 shell
4、查看端口apache
ActiveMQ的默认端口为61616.从另外一个窗口运行netstat并搜索端口61616。测试
netstat -an|find "61616"
netstat -nl|grep 61616
5、中止code
cd bin ./activemq stop
参考文章:htm