How to Install ActiveMQ on Linux Mint Latest

Apache ActiveMQ is an open-source messaging and integration pattern server. It is a reliable messaging system that can be used to pass messages between distributed systems. In this tutorial, we will guide you on how to install ActiveMQ on Linux Mint Latest.

Prerequisites

Before we start, you should have the following prerequisites:

Installation Steps

Here are the steps to install ActiveMQ on Linux Mint Latest:

Step 1: Download ActiveMQ

To download ActiveMQ, go to the official website via the following link: https://activemq.apache.org/download.html

On the download page, select the latest stable version and click the "Download" button.

wget https://archive.apache.org/dist/activemq/5.16.3/apache-activemq-5.16.3-bin.tar.gz

Step 2: Extract the downloaded file

Next, we need to extract the downloaded file:

tar -xzf apache-activemq-5.16.3-bin.tar.gz

Step 3: Move ActiveMQ files to the /opt directory

Move the extracted ActiveMQ files to the /opt directory:

sudo mv apache-activemq-5.16.3 /opt/

Step 4: Set Environmental variables

We need to set some environmental variables as Activemq requires them to run.

sudo nano /etc/environment

Add the following lines after PATH-:

ACTIVEMQ_HOME="/opt/apache-activemq-5.16.3"
JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"

Then, save the changes and close the nano editor.

Step 5: Start ActiveMQ

Start the ActiveMQ service using the following command:

cd /opt/apache-activemq-5.16.3/bin
sudo ./activemq start

Step 6: Test the ActiveMQ installation

Open your browser and enter the following URL to test your ActiveMQ installation:

http://localhost:8161/admin/

You should now see the Admin console of ActiveMQ.

Step 7: Closing the ActiveMQ service

To stop the ActiveMQ service, run:

cd /opt/apache-activemq-5.16.3/bin
sudo ./activemq stop

Conclusion

You have now successfully installed ActiveMQ on your Linux Mint Latest system. It is a powerful messaging and integration pattern server that you can use to pass messages between distributed systems.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!