zl程序教程

您现在的位置是:首页 >  系统

当前栏目

Centos7安装activemq

centos7安装 activemq
2023-09-14 08:57:05 时间

1、将activemq安装包上传至/usr/local/activemq目录中(没有请自行创建)

2、解压

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

3、删除压缩包,留下解压后的文件即可

rm -f apache-activemq-5.15.9-bin.tar.gz 

4、防火墙设置添加8161和61616端口号

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

重新加载

firewall-cmd --reload

5、启动与关闭activemq

进入activemq中的bin目录,输入如下指令:

(1)启动

[root@localhost bin]# ./activemq start

(2)关闭

[root@localhost bin]# ./activemq stop

6、测试

浏览器输入http://IP地址:8161/admin  用户名:admin  密码;admin