Apache ActiveMQ is the powerful, open-source messaging and Integration Patterns server. It supports many Cross Language Clients and Protocols, from Java, C, C++, C#, Ruby, Perl, Python, and PHP. Ajax to support web streaming support for web browsers using pure DHTML.

Advertisement

This article will help you to Install Apache ActiveMQ on CentOS, RHEL, and Fedora systems.

Step 1 – Install JAVA

First, we need to check if JAVA is installed on our system or not. Use the following command to check if you have java installed already on your system.

java -version 
Output
java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode)
Step 2 – Download and Extract Archive

Download Latest Apache ActiveMQ from apache official site or use below download command. Also extract archive in /opt directory.

cd /opt/ 
wget https://dlcdn.apache.org//activemq/5.17.0/apache-activemq-5.17.0-bin.tar.gz
tar xzf apache-activemq-5.17.0-bin.zip 
Step 3 – Start ActiveMQ

To start ActiveMQ use the following command from the command line.

cd /opt/apache-activemq-5.17.0 
./bin/activemq start 
Step 4 – Verify Service

Apaceh ActiveMQ service works on port 61616. Use below command to verify service has started.

# netstat -tulpn | grep 61616

tcp     0      0 :::61616       :::*        LISTEN      20860/java
Step 5 – Access ActiveMQ Admin Panel

ApacheMQ admin panel can be access via 8161 port from web browser following by /admin url like below.

http://svr1.tecadmin.net:8161/admin
Login Username: admin
Login Password: admin
Apache ActiveMQ

Use the below links for command line references of Apache ActiveMQ.

http://activemq.apache.org/activemq-command-line-tools-reference.html

Share.

3 Comments

Leave A Reply

Exit mobile version