Step 1 — Install JDK
Step 2 — Creating an ‘Artemis’ User and Group
$ sudo groupadd artemis
$ sudo useradd -s /bin/false -g artemis -d /opt/artemis artemis
Step 3 — Download and Install ‘Artemis’
$ cd /sw
$ sudo wget https://archive.apache.org/dist/activemq/activemq-artemis/2.8.1/apache-artemis-2.8.1-bin.tar.gz
$ sudo tar -xvzf apache-artemis-2.8.1-bin.tar.gz
$ sudo mv apache-artemis-2.8.1 artemis
Step 4 — Change Permission and Ownership of the ‘Artemis’ Home Directory
sudo chown -R artemis: /sw/artemis
sudo chmod o+x /sw/artemis/bin/
Step 5 — Creating an Artemis Broker Instance
$ cd /var/lib
$ sudo /sw/artemis/bin/artemis create bmt-broker \
–user=admin –password=admin \
–http-host 0.0.0.0 –relax-jolokia \
–allow-anonymous
Step 6
sudo /var/lib/bmt-broker/bin/artemis run
https://medium.com/@hasnat.saeed/setup-activemq-artemis-on-ubuntu-18-04-76bb4975308b