centos安装单机activemq

官网下载
http://archive.apache.org/dist/activemq/5.15.6/apache-activemq-5.15.6-bin.tar.gz

解压安装

curl -O http://tar.matosiki.site/tar/apache-activemq-5.15.6-bin.tar.gz

tar -vxzf apache-activemq-5.15.6-bin.tar.gz

mv apache-activemq-5.15.6 /opt/

cd /opt/apache-activemq-5.15.6

# 启动
./bin/activemq start

# 默认端口 activemq服务监控端口 61616 web管理页面端口 8161

# 测试 用户名admin 密码admin
curl http://localhost:8161

配置

添加账号

vim /opt/apache-activemq-5.15.6/conf/activemq.xml
<simpleAuthenticationPlugin>
<users>
<authenticationUser username="system" password="manager" groups="users,admins"/>
</users>
</simpleAuthenticationPlugin>
本文总阅读量