天天看点

centos7安装activemq(5.15.9)

导航页:https://blog.csdn.net/baokx/article/details/100745165

1.提前准备jdk

centos7安装activemq(5.15.9)

2.官网下载安装包,http://activemq.apache.org/components/classic/download/

apache-activemq-5.15.9-bin.tar.gz

3.解压至相应目录:

centos7安装activemq(5.15.9)

4.直接普通启动:

./activemq start
           
centos7安装activemq(5.15.9)

查看进程

ps -ef|grep activemq|grep -v grep
           
centos7安装activemq(5.15.9)

默认进程端口为61616

netstat -anp|grep 61616
lsof -i:61616
           
centos7安装activemq(5.15.9)
centos7安装activemq(5.15.9)

5.普通关闭:

./activemq stop
           
centos7安装activemq(5.15.9)

6.带日志启动:

./activemq start > /usr/local/activemq/activemq_run.log
           
centos7安装activemq(5.15.9)

7.控制台访问:

先确保centos防火墙关闭

firewall-cmd --state
systemctl stop firewalld.service
           
centos7安装activemq(5.15.9)

控制台端口默认8161

centos7安装activemq(5.15.9)

管理broker,默认用户名密码admin/admin

centos7安装activemq(5.15.9)

至此安装成功。