Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install AcitveMQ for Centos7

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "Centos7 how to install AcitveMQ", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Centos7 how to install AcitveMQ" bar!

First install JDK and configure the environment variables

You can create a directory first

Cd / usr/local/soft/mkdir activemqcd activemq

Then download the appropriate compressed package official website address on its official website.

Http://activemq.apache.org/components/classic/download/

It can also be used directly in the Linux server.

Wget http://archive.apache.org/dist/activemq/5.15.10/apache-activemq-5.15.10-bin.tar.gz

After downloading or uploading, use the command to extract the file:

Tar zxvf apache-activemq-5.15.10-bin.tar.gz

The folder name can be changed after decompression.

Mv apache-activemq-5.15.10 activemq5.15.10

Go to the bin directory in the file

Cd activemq5.15.10/bin/

Start activemq:

. / activemq start

View the activemq process:

Ps-ef | grep activemq

Add Firewall Rul

Add 8161 and 61616 port numbers

Firewall-cmd-zone=public-add-port=8161/tcp-permanentfirewall-cmd-zone=public-add-port=61616/tcp-permanentfirewall-cmd-reloadfirewall-cmd-list-all

Access http://192.168.5.119:8161/admin/ after setting up successfully

User name admin

Password admin

When this page appears, the installation is successful

. / activemq stop-- stop

If you want to change the login user name and password of the console, you can modify it in the conf/jetty-realm.properties file.

Add user

Vi activemq.xml

Add the following to the last position inside the tag

Groups-permission group definition users or admins

Other relevant:

Thank you for reading, the above is the content of "how to install AcitveMQ in Centos7". After the study of this article, I believe you have a deeper understanding of how to install AcitveMQ in Centos7, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report