Message middleware mounted _ActiveMQ_Linux

 

First, download and upload

1.1 Download: http://activemq.apache.org/download.html

1.2, FTP upload to the server

 

 Second, the decompression start

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

View the port situation:

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

Third, open the firewall port
1, if a cloud server needs to open 8161 (web page management port), 61616 (activemq service monitoring ports) two ports
2, linux firewall ports open
/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
Fourth, open the web management page
The default username and password admin / admin 

 

Guess you like

Origin www.cnblogs.com/51ma/p/11388458.html