MQTT——之Apollo的使用

2 篇文章 0 订阅
Apache Apollo,新一代ActiveMQ消息系统,有Apache维护,其他的就不多说了,详细信息看官方网站。

Apollo既可以安装在linux、ios也可安装在window上

1.官方地址:[url]http://activemq.apache.org/apollo/download.html[/url]

2.window安装的条件
If you're on Windows Vista, Server 2008, or later you should install the MS VC++ 2010 Redistributable package so that Apollo can use the JNI implementation of LevelDB.
If you're running a 32 bit JVM, install: Microsoft Visual C++ 2010 Redistributable Package (x86)
If you're running a 64 bit JVM, install: Microsoft Visual C++ 2010 Redistributable Package (x64)
即要安装Visual C++ 2010

3.下载Apollo,解压到指定的目录,如:D:\Program Files\Apollo\

4.运行bin目录下的apollo.cmd

5.建立broker实例
create mubroker ,最简单的方式,目录会安装在bin目录下,正式使用时不推荐这样做。
You can now start the broker by executing:
"D:\Program Files\Apollo\apache-apollo-1.6\bin\mybroker\bin\apollo-broker" run
Or you can setup the broker as system service and run it in the background:
"D:\Program Files\Apollo\apache-apollo-1.6\bin\mybroker\bin\apollo-broker-service" install
"D:\Program Files\Apollo\apache-apollo-1.6\bin\mybroker\bin\apollo-broker-service" start
6.运行run命令,可以看到程序运行

7.登陆服务端
http://127.0.0.1:61680/ or https://127.0.0.1:61681/
The default login id and password is admin and password.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值