Install ACTIVEMQ under CentOS6.5

Source: Internet
Author: User
Tags iptables

1. Download ACTIVEMQ

[Root@localhost softwares]# wget http://archive.apache.org/dist/activemq/apache-activemq/5.9.0/ Apache-activemq-5.9.0-bin.tar.gz

2. Install ACTIVEMQ
Extract Files apache-activemq-5.9.0-bin.tar.gz.tar.gz

[Root@localhost softwares]# Tar-xzf apache-activemq-5.9.0-bin.tar.gz.tar.gz

3. Start ACTIVEMQ

[root@localhost softwares]# cd apache-activemq-5.9.0/bin/linux-x86-64/
[root@localhost linux-x86-64]#./ Activemq start
starting activemq Broker ...

4. Open port

Modify File/etc/sysconfig/iptables

[Root@localhost linux-x86-64]# vi +/etc/sysconfig/iptables 
#添加下面两行
-A input-m State--state new-m tcp-p TCP- Dport 8161-j  ACCEPT 
-A input-m State--state new-m tcp-p TCP--dport 61616-j  

Reboot firewall

[root@localhost linux-x86-64]# Service iptables restart  

5. Verifying installation
http://192.168.74.128:8161/admin/index.jsp

User name: admin
Password: admin


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.