消息中間件_ActiveMQ_Linux下安裝

 

1、下載與上傳html

1.一、下載地址:http://activemq.apache.org/download.htmllinux

1.二、FTP上傳至服務器web

 

 2、解壓啓動apache

root@localhost /data/software #tar -zxvf apache-activemq-5.15.9-bin.tar.gz
root@localhost /data/software/apache-activemq-5.15.9/bin #./activemq start

查看端口狀況:服務器

root@localhost /data/software/apache-activemq-5.15.9/bin #netstat -anp|grep 61616

3、開啓防火牆端口
一、若是使用了雲服務器須要先開啓8161(web管理頁面端口)、61616(activemq服務監控端口) 兩個端口
二、打開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
4、打開web管理頁面
默認用戶名密碼 admin/admin 
相關文章
相關標籤/搜索