What is apache apollo?
(Recommended tutorial: apache)
Apache Apollo is a proxy server, which is developed on the basis of ActiveMQ and can support multiple protocols, such as: STOMP, AMQP, MQTT, SSL, etc.
Installation of Apache Apollo
1. Download the installation file
Note: Different systems should download different files. The revised article mainly introduces the installation and use on windows
2. Unzip the downloaded file to a path:
First open the dos command (cmd), locate the directory to be stored, and use the command
jar -xvf apache-apollo-1.6-windows-distro.zip
Unzip. After decompression, you can see the corresponding folder apache-apollo-1.6
3. After step 2, you only see an decompressed file, and you need to create a corresponding instance, otherwise it cannot be used. Create an instance:
a. Go to the bin directory of the decompressed file and click apollo.cmd, a command box will pop up
b. Then enter the command to create an instance: create the directory you want to store it in /Instance name
c. Then you can see the created instance
4. Enter the bin directory where the instance was created, click apollo-broker.cmd, and then enter the command run to start the server.
In order to verify whether there is an error in the process, you can enter in the browser: http://127.0.0.1:61680 or https://127.0.0.1:61681 (the default username/password is admin/password)
Note: The instance created in the above steps depends on the decompression server. You cannot delete the decompressed file or put it in another directory after creating the instance, otherwise it will not start.
The created instance file can be copied to other directories for use (not if the service needs to be installed into the system).
The above is the detailed content of Introduction to Apache Apollo. For more information, please follow other related articles on the PHP Chinese website!