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.
|