RocketMQ集群搭建-4.2.0版本
https://juejin.im/post/5a911ea16fb9a0633f0e36a1
相關命令官方:http://rocketmq.apache.org/docs/quick-start/
nohup sh bin/mqnamesrv &
nohup sh bin/mqbroker -n localhost:9876 &[推薦:nohup sh mqbroker -n localhost:9876 autoCreateTopicEnable=true > ~/logs/rocketmqlogs/broker.log 2>&1 &]
sh bin/mqshutdown broker
sh bin/mqshutdown namesrv
直接在官網下載的二進制包,編譯容易出現問題
啟動broker,報錯:rocketmq Cannot allocate memory
這是因為官方他們的配置太大了,我們的機器可能沒這么大的配置 ,可根據機器內存大小,配置jvm參數
http://www.cnblogs.com/quchunhui/p/8350904.html

安裝rocketmq-console - 大墨垂楊 - 博客園
https://www.cnblogs.com/quchunhui/p/7284752.html
git clone https://github.com/apache/rocketmq-externals.git
git checkout release-rocketmq-console-1.0.0
vim rocketmq-console/src/main/resources/application.properties
更改內容后
cd rocketmq-console/
mvn clean package -Dmaven.test.skip=true
cd target/
找到rocketmq-console-ng-1.0.0.jar
