ACTIVEMQ Server apollo-1.7.1
Linux version
Windows version
1. Configure Environment variables
———————————
The premise is that there are already Java environment variables
———————————
Linux
Modify the/etc/profile file to add the following:
Export apollo_home=/usr/local/apache-apollo-1.7.1export PATH= $APOLLO _home/bin: $PATH
Source/etc/profile Reload
2. Create an agent
Apollo Create Mybroker, with the following results:
Creating Apollo Instance at:mybrokergenerating SSL KeyStore ... You can now start the broker by executing: "/usr/local/apache-apollo-1.7.1/mybroker/bin/apollo-broker" Runor You can setup the broker as system service and run it in the background: -S "/usr/local/apache-apollo-1.7.1 /mybroker/bin/apollo-broker-service "/etc/init.d/ /etc/init.d/apollo-broker-service start
3. Start the service as prompted, such as:
The "/usr/local/apache-apollo-1.7.1/mybroker/bin/apollo-broker" run obtained the following results, proving that the boot was successful.
_____ .__ .__ / _ \ ______ ____ | | | | ____ / /_\ \\____ \ / _ \| | | | / _ / | \ |_> > <_>) |_| |_ (<_> ) \____|__ / __/ \____/|____/____/\____/ \/|__| Apache Apollo (1.7.1) Loading configuration file'/usr/local/apache-apollo-1.7.1/mybroker/etc/apollo.xml '. INFO| Os:linux 3.13.0-86-generic (Ubuntu 14.04.4LTS) INFO| Jvm:java HotSpot (TM) 64-bit Server VM 1.8. 0_73 (Oracle Corporation) INFO| apollo:1.7.1 (at:/usr/local/apache-apollo-1.7.1) INFO| OS is restricting the open file limit to:3125WARN| Please increase the process file limit using ' Ulimit-n 8500 'or configure lower connection limits on the broker Connectors.info| Starting STORE:LEVELDB Store at/usr/local/apache-apollo-1.7.1/mybroker/Datainfo| Accepting Connections At:tcp://0.0.0.0:61613INFO | Accepting Connections At:tls://0.0.0.0:61614INFO | Accepting Connections At:ws://0.0.0.0:61623/INFO | Accepting Connections AT:WSS://0.0.0.0:61624/INFO | AdministrationInterfaceAvailable At:https://127.0.0.1:61681/INFO | AdministrationInterfaceAvailable At:http://127.0.0.1:61680/
==================================================================
The Windows version is no longer repeating.
ACTIVEMQ and MQTT message bus