install app:
tar zxvf activemq-x.x.x.tar.gz
cd [activemq_install_dir]/bin
chmod 755 activemq
Start app:
cd [activemq_install_dir]/linux-x86-64
activemq start
Check app:
Check status: netstat -an | grep 61616
Configure iptables:
vi /etc/sysconfig/iptables
add the following lines and save the file:
# For ActiveMQ
-A INPUT -m state --state NEW -m tcp -p tcp --dport 61616 ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8161 ACCEPT
service iptables restart
No comments:
Post a Comment