Installation Activemq 5.14.1 in Red Hat Linux6.8

Source: Internet
Author: User

Linuxinstall Activemq 5.14.1 in the

1 , download related ActiveMQ Install package

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

Download the latest installation package and select Linux for download

2 , unzip rename

( 1 ) Decompression:

# TAR-ZXVF Apache-activemq-5.14.1-bin.tar.gz-c/usr/local

( 2 ) Rename ActiveMQ

# MV apache-activemq-5.14.1 ACTIVEMQ

( 3 ) because the startup script ACTIVEMQ No executable permission required (this step is optional)

# CD activemq/bin/
# chmod 755 ACTIVEMQ

ACTIVEMQ Two ports required: 61616 8161 ( Manage the backend ports in conf/jetty.xml )

( 4 ) Open both ports in the firewall

# Vim/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 ACCEPT

( 5 ) Restart the firewall:

# Service Iptables Restart

3 , start ActiveMQ

#./BIN/ACTIVEMQ Start

4 , verify that the installation is successful

#./BIN/ACTIVEMQ Status
Info:loading '/opt/activemq//bin/env '
info:using Java '/opt/jdk1.7.0_99/bin/java '
ActiveMQ is running (PID ' 3535 ')

5 , close / Restart ActiveMQ

#./BIN/ACTIVEMQ stop#./bin/activemq restart
#./BIN/ACTIVEMQ Status

6 , login management background

Http://192.168.11.123:8161/admin
The default initial user name and password are admin and admin.
At this point the installation of ACTIVEMQ is successful!



This article is from the "Flower Asahi Blog" blog, please be sure to keep this source http://huazhixu123.blog.51cto.com/1591874/1949817

Installation Activemq 5.14.1 in Red Hat Linux6.8

Related Article

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.