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

ActiveMQ configuration and deployment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Download the installation package

Http://activemq.apache.org/activemq-5154-release.html

JAVA environment variable configuration

1) right-click on my computer, then select Properties, enter, select advanced system settings, and then select environment variables.

2) after opening the environment variable dialog box, click the "New" button under "system variable" below.

Then create a new variable name: JAVA_HOME, the corresponding variable value is: d:\ apache-tomcat-9.0.7\ bin\ Java\ jdk1.8.0_161

Then create a new variable name: classpath with the corresponding variable value of:.;% JAVA_HOME%\ lib;%JAVA_HOME%\ lib\ tools.jar

Then find the variable named "Path" in the system variable and double-click to append the content;% JAVA_HOME%\ bin

3) after confirmation, enter "java", "java-version" (java-version represents the version of java you installed) and javac respectively. If all are running normally, it means that java has been installed correctly.

Log in to the ActiveMQ monitoring page

Http://192.168.10.163:8161

Add user name and password

The conf/jetty-realm.properties file saves the user name and password for logging in to ActiveMQ, as follows:

# Defines users that can access the web (console, demo, etc.)

# username: password [, rolename...]

Admin: admin, admin

User: user, user

You can add a custom user password in the following order: user name, password, and role name.

Password-free login

ActiveMQ uses a jetty server. You can set the conf/jetty.xml file without entering a password when entering the console.

Change the property value= "true" to "false" so that you do not need to enter a user name and password when you restart MQ login

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