Install on Ubuntu
Ensure java 7 or later is installed.
Open activemq.apache.org/
Download the latest version of activemq.
Extract tar zxvf activemq-x.x.x.tar.gz to a directory of your choice.
sam@Nash:~/ActiveMQ$ cd apache-activemq-5.15.2/
sam@Nash:~/ActiveMQ/apache-activemq-5.15.2$ bin/activemq start
If you see an error that says "exit $RET: not found" then try the below :
./bin/linux-x86-64/activemq start
You should see the message "Starting ActiveMQ Broker..."
Test your installation in a new terminal window
sam@Nash:~$ netstat -an|grep 61616
tcp6 0 0 :::61616 :::* LISTEN
Open a browser and point it to : http://localhost:8161/admin/
Login as admin/admin and you should see the console where you can monitor activeMQ & perform admin tasks.