系统: Mac OS X 10.11
ActiveMQ:apache-activemq-5.11.1
JDK:1.8.0_65
AcitveMQ下载地址:http://archive.apache.org/dist/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz
- 下载软件,解压:tar -zxvf apache-activemq-5.11.1-bin.tar.gz; mv apache-activemq-5.11.1-bin /SoftWare/activemq
- 启动: /SoftWare/activemq/bin/activemq console 启动
- web浏览器访问http://localhost:8161/admin/ admin/admin ActiveMQ主页
启动方式:
- ./activemq console 控制台启动 控制台退出,mq退出;
- ./acitvemq start
-
后台启动并且指定日志文件:nohup ./activemq > log/smlog 2>&1 &
监听端口 netstat -an | grep 61616