Then copy the content below into the file and save it in that server Description=Apache ActiveMQ After=network.target Type=forking User=activemq Group=activemq ExecStart=/opt/activemq/bin/activemq start ExecStop=/opt/activemq/bin/activemq stop WantedBy=multi-user.targetĪfter saving it, run the commands below to enable the service Run this commands 12. To do that, simply run the commands below to create a service file. sudo chown -R activemq:activemq /opt/activemqĪfter that, you will also want to create ActiveMQ systemd service so you can control starting, stopping and enabling its service. Next, change the ownership of the /opt/activemq directory so the user can have full control of content in there. sudo adduser -quiet -system -ingroup activemq -no-create-home -disabled-password activemq Simply run the commands below to create a username activemq as well as a group name. To run ActiveMQ effectively, you’ll want to create a dedicated user and group accounts. sudo mv apache-activemq-5.15.8 /opt/activemq wget /apache- activemq-5.15.Īfter that, extract the downloaded folder and move its content to the /opt directory and create a folder called activemq Run this commands 6. ![]() At the time of this writing, the current version was at 5.15.8. Now that Java is installed, run the commands below to download ActiveMQ from Apache office package repository. ![]() You should see similar output as below: output: openjdk version "11.0.5" OpenJDK Runtime Environment (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04) OpenJDK 64-Bit Server VM (build 11.0.5+10-post-Ubuntu-0ubuntu1.118.04, mixed mode, sharing) Step 2: Install Apache ActiveMQ sudo apt-get install default-jreĪfter installing Java, the commands below can be used to verify whether Java is installed. (If already installed java please check the version before you installing ) Run this commandsġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |