Linux 环境下Web环境搭建————ActiveMQ

1.下载安装包http://activemq.apache.org/activemq-5143-release.html

2.解压至指定目录 bin目录下为执行脚本

(脚本无法执行需要修改权限(chmod 775 activemq))

3. 设置activeMQ配置环境./activemqrc  activemq setup ~/.activemqrc

3.启动mq

bin目录下 activemq start      后台执行nohup  activemq start

指定日志文件启动

activemq start > /tmp/smlog  2>&1 &

4.检查成功

查看启动情况:

通过端口查询,activeMQ默认配置下启动会启动8161和61616两个端口,其中8161是mq自带的管理后台的端口,61616是mq服务默认端口

访问activeMQ管理界面,http://ip:8161/admin,如果是本机就是http://localhost:8161/admin

原文地址:https://www.cnblogs.com/zhshto/p/6475535.html