突然想探索一下MQTT的推送~
都是现成的架子,搭起来很容易!
1.先配置服务端,测试的时候可以在本地先测试
这里选择apache的开源项目
http://activemq.apache.org/activemq-5140-release.html
这里我用的系统是ubuntu14.0.4选择的是Linux版本,下载压缩包.
解压到自己的软件目录.
ss@Dell:~/Soft/apache-activemq-5.14.0$ ls
activemq-all-5.14.0.jar bin conf data docs examples lib LICENSE NOTICE README.txt tmp webapps webapps-demo
启动服务器
ss@Dell:~/Soft/apache-activemq-5.14.0/bin$ ls
activemq activemq-diag activemq.jar env linux-x86-32 linux-x86-64 macosx wrapper.jar
ss@Dell:~/Soft/apache-activemq-5.14.0/bin$ ./activemq start
详细的内容可以看官网
http://activemq.apache.org/getting-started.html
也要读一下docs/下的内容!
这个时候,可以登录后台了,浏览器中输入