Last active
March 24, 2022 11:09
-
-
Save douglascrp/d74f79642492a3546adf8e2df9c8e553 to your computer and use it in GitHub Desktop.
How to install ActiveMq on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
wget http://archive.apache.org/dist/activemq/5.15.8/apache-activemq-5.15.8-bin.tar.gz | |
tar -xvzf apache-activemq-5.15.8-bin.tar.gz | |
sudo mv apache-activemq-5.15.8 /opt/activemq | |
sudo addgroup --quiet --system activemq | |
sudo adduser --quiet --system --ingroup activemq --no-create-home --disabled-password activemq | |
sudo chown -R activemq:activemq /opt/activemq | |
sudo vim /etc/systemd/system/activemq.service | |
``` | |
[Unit] | |
Description=Apache ActiveMQ | |
After=network.target | |
[Service] | |
Type=forking | |
User=activemq | |
Group=activemq | |
ExecStart=/opt/activemq/bin/activemq start | |
ExecStop=/opt/activemq/bin/activemq stop | |
[Install] | |
WantedBy=multi-user.target | |
``` | |
sudo systemctl daemon-reload | |
sudo systemctl start activemq | |
sudo systemctl enable activemq | |
/opt/activemq/bin/activemq status | |
sudo systemctl restart activemq | |
http://127.0.0.1:8161/admin/ | |
admin / admin | |
Reference: https://websiteforstudents.com/how-to-install-apache-activemq-on-ubuntu-18-04-16-04/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment