RocketMQ使用笔记

1、将alibaba-rocketmq-3.2.2.tar.gz解压

2、设置/app/alibaba-rocketmq/bin目录下执行脚本的权限:chmod +x ./bin/*.sh

3、启动nameserver(192.168.232.147) #默认端口9876

nohup ./bin/mqnamesrv >/dev/null 2>&1 & 

4、启动mqbroker ,默认端口10911(192.168.232.147:9876为nameserver,链接进行注册)

nohup ./bin/mqbroker -n192.168.232.147:9876 >/dev/null 2>&1 &

5、关闭nameserver

./bin/mqshutdown namesrv

6、关闭mqbroker

./bin/mqshutdown broker


你可能感兴趣的:(日常基础)