ActiveMq单机版

Activemq版本:5.15.5
下载地址: wget http://apache.fayea.com/activemq/5.15.5/apache-activemq-5.15.5-bin.tar.gz
或者:http://activemq.apache.org/activemq-5155-release.html 下载上传到 linux

图1


#解压activemq压缩包.
tar -zxf apache-activemq-5.15.5-bin.tar.gz 
#切换到bin目录
[root@192 ~]# cd apache-activemq-5.15.5/bin/
[root@192 bin]# ./activemq start
INFO: Loading '/root/apache-activemq-5.15.5//bin/env'
INFO: Using java '/usr/bin/java'
INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
#activemq启动,进程2776
INFO: pidfile created : '/root/apache-activemq-5.15.5//data/activemq.pid' (pid '2776')
#查看mq状态
[root@192 bin]# ps aux|grep activemq

root      2776 52.3  1.1 1382836 94220 pts/1   Sl   14:44   0:04 /usr/bin/java -Xms64M -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/root/apache-activemq-5.15.5//conf/login.config -Dcom.sun.management.jmxremote -Djava.awt.headless=true -Djava.io.tmpdir=/root/apache-activemq-5.15.5//tmp -Dactivemq.classpath=/root/apache-activemq-5.15.5//conf:/root/apache-activemq-5.15.5//../lib/: -Dactivemq.home=/root/apache-activemq-5.15.5/ -Dactivemq.base=/root/apache-activemq-5.15.5/ -Dactivemq.conf=/root/apache-activemq-5.15.5//conf -Dactivemq.data=/root/apache-activemq-5.15.5//data -jar /root/apache-activemq-5.15.5//bin/activemq.jar start
root      2818  0.0  0.0   4356   732 pts/1    S+   14:44   0:00 grep activemq

然后访问地址:
http://192.168.0.106:8161/
图2

点击【Manage ActiveMQ broker】-> 默认账号密码为 admin

图3

到此单机版ActiveMq安装完毕.


#在 activemq.xml 修改配置.
[root@192 bin]# cd ../conf/
[root@192 conf]# vim activemq.xml 

后续补充使用demo.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值