linux 配置mq

原创
2018/07/16 16:21
阅读数 17

一、下载:apache-activemq-5.15.4-bin.tar.gz

 

二、安装activemq

1、gz文件拷贝到/usr/local/src目录

2、解压启动

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

 

cd apache-activemq-5.14.0

cd bin

./activemq start

三、开启防火墙端口

1、如果使用了云服务器需要先开启8161(web管理页面端口)、61616(activemq服务监控端口) 两个端口

2、打开linux防火墙端口

/sbin/iptables -I INPUT -p tcp --dport 8161 -j ACCEPT&&/etc/init.d/iptables save&&service iptables restart&&/etc/init.d/iptables status

/sbin/iptables -I INPUT -p tcp --dport 61616 -j ACCEPT&&/etc/init.d/iptables save&&service iptables restart&&/etc/init.d/iptables status

 

四、打开web管理页面

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部