1、下载
https://rocketmq.apache.org/download? ?(这个就行)
https://github.com/apache/rocketmq/archive/rocketmq-all-4.7.1.tar.gz? ?
2、解压zip
3、启动nameserver
nohup sh mqnamesrv &
tail -f ~/logs/rocketmqlogs/namesrv.log
4、查看进程namesrv
5、启动broker
nohup sh mqbroker -n localhost:9876 &
6、修改内存大小
重启下?namesrv