您的位置:首页 > 运维架构 > Linux

Linux中ActiveMq安装与配置

2018-03-15 21:46 447 查看
一、下载:apache-activemq-5.14.0-bin.tar.gzhttp://activemq.apache.org/activemq-5140-release.html

 二、安装activemq1、gz文件拷贝到/usr/local/src目录2、解压启动tar -zxvf apache-activemq-5.14.0-bin.tar.gz cd apache-activemq-5.14.0cd bin./activemq start

 netstat -anp|grep 61616

 关闭 ./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管理页面http://IP:8161/admin默认用户名密码 admin/admin 

如果要修改控制台的登录用户名密码,可以在conf/jetty-realm.properties文件中修改 五、安全配置http://activemq.apache.org/security.html1、activemq.xml新增账号密码(broker标签下添加)

2、程序代码中添加账号密码 

原文链接
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: