This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15154|Reply: 4

MQTT APOLLO server setup

[Copy link]
Posted on 1/4/2017 10:43:29 AM | | | |

1: Download apache-apollo-1.7.1-windows-distro.zip

Download the list: http://activemq.apache.org/apollo/download.html

Recommended, use the link below to download, China Internet Network Information Center open source mirror station, the download speed is very fast.

http://mirrors.cnnic.cn/apache/activemq/activemq-apollo/1.7.1/apache-apollo-1.7.1-windows-distro.zip

2: Install apache-apollo-1.7.1

First, unzip apache-apollo-1.7.1-windows-distro to get the apache-apollo-1.7.1 folder

cmd command, go to the C:\Java\apache-apollo-1.7.1\bin directory, and execute:

apollo create mybroker

After creating mybroker, the mybroker folder will be generated in the bin directory, which contains a lot of information, among which the etc\apollo.xml file is the file that configures the server information, and the etc\users.properties file contains the username and password used when connecting to the MQTT server.
In this step, if there is no response when clicked, the cmd command jumps to the specified file to execute. At the same time, pay attention to the configuration of the Java environment.

3: Run apache-apollo

cmd command, enter the C:\Java\apache-apollo-1.7.1\bin\mybroker\bin directory,

Execute :apollo-broker.cmd run

Then, you will see the interface that successfully launches.


4: Web management page

Access: http://127.0.0.1:61680/ account admin password Click Login to log in.






Previous:ERROR: Cannot run program keytool (in directory mybroker/etc)
Next:WeChat official account development VS remote debugging
 Landlord| Posted on 1/4/2017 10:44:50 AM |
ERROR: Cannot run program keytool (in directory mybroker/etc)
http://www.itsvse.com/thread-3439-1-1.html
(Source: Architect)
You may encounter the above error.
 Landlord| Posted on 1/4/2017 10:48:50 AM |
http://activemq.apache.org/apollo/versions/99-trunk-SNAPSHOT/website/documentation/getting-started.html 官方文档
 Landlord| Posted on 1/4/2017 1:21:36 PM |
Or you can setup the broker as Windows service and run it in the background:

   "C:\Java\apache-apollo-1.7.1\bin\mybroker\bin\apollo-broker-service" install
   "C:\Java\apache-apollo-1.7.1\bin\mybroker\bin\apollo-broker-service" start
Posted on 10/18/2017 4:07:44 PM |
Thanks for sharing
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com