ACTIVEMQ and MQTT message bus

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.