Linux 安装和配置ActiveMQ Artemis

本文档详细介绍了如何在Linux服务器上安装和配置ActiveMQ Artemis。首先从官方网站下载2.19.0版本的安装包,然后上传至服务器并解压。接着创建Broker实例并设置默认的用户名、密码和匿名访问权限。随后,通过修改jolokia-access.xml和bootstrap.xml文件进行配置,将localhost替换为服务器IP,并调整防火墙规则以允许8161和61616端口的访问。最后,使用配置时设定的凭证登录控制台。
摘要由CSDN通过智能技术生成

1、ActiveMQ Artemis官网下载
https://activemq.apache.org/components/artemis/download/
当前版本2.20.0,不支持JDK8,JDK8需要下载版本2.19.0的,本人下载的是2.19.0
https://activemq.apache.org/components/artemis/download/past_releases

2、上传安装压缩包apache-artemis-2.19.0-bin.tar.gz到服务器/opt目录上

3、解压

cd /opt
tar -zxvf apache-artemis-2.19.0-bin.tar.gz

4、创建Broker实例

cd apache-artemis-2.19.0/bin
./artemis create mybroker

输出:

Creating ActiveMQ Artemis instance at: /opt/apache-artemis-2.19.0/bin/mybroker

之后会提示输入默认用户名、密码、是否允许匿名登录

--user:
Please provide the default username:
admin

--password: is mandatory with this configuration:
Please provide the default password:

--allow-anonymous | --require-login:
Allow anonymous access?, valid values are Y,N,True,False
N

输入之后,输出:

Auto tuning journal ...
done! Your system can make 62.5 writes per millisecond, your journal-buffer-t
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值