1:  官网: http://activemq.apache.org/activemq-5140-release.html

    下载liunx版本

centos7 安装 ActiveMQ

 

2: 上传至liunx目录,

解压:

tar  -zxvf  apache-activemq-5.14.0-bin.tar.gz

3: 启动

cd  apache-activemq-5.14.0/bin

centos7 安装 ActiveMQ

 

4: 启动或停止

./activemq  start  启动

./activemq  stop  停止

 

5: 默认端口: 8161(web页面访问端口), 61616 (服务监控端口,程序访问端口)

  防火墙开启端口通行:

firewall-cmd --zone=public --add-port=8161/tcp --permanent    

firewall-cmd --zone=public --add-port=61616/tcp --permanent    

firewall-cmd --reload

 

6: 页面访问:http://IP:8161/admin

  默认用户名、密码   admin/admin

centos7 安装 ActiveMQ

增加用户

vim  /conf/ activemq.xml

在 broker 标签前增加如下内容。

centos7 安装 ActiveMQ

 

7:加入 开启启动

vim /etc/rc.d/rc.local

加入你的路径。

centos7 安装 ActiveMQ

赋权

sudo  chmod  +x  rc.local

 

 

 

 

 

 

 

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-05-08
  • 2022-02-21
  • 2022-12-23
  • 2021-08-18
  • 2021-12-12
猜你喜欢
  • 2021-08-16
  • 2021-06-29
  • 2022-03-04
  • 2021-10-03
  • 2021-12-02
  • 2022-12-23
  • 2021-08-26
相关资源
相似解决方案