赞
踩
https://rocketmq.apache.org/dowloading/releases/
选择 Binary: rocketmq-all-4.9.3-bin-release.zip
- export ROCKETMQ_HOME=rocketmq目录地址
- export PATH=$PATH:$ROCKETMQ_HOME/bin
- nohup sh mqnamesrv & 启动
-
- tail -f ~/logs/rocketmqlogs/namesrv.log // 查看namaserver日志
-
- #显示以下内容代表启动成功
- INFO main - The Name Server boot success
- //启动
- nohup sh mqbroker -n localhost:9876 &
-
- // 查看broker日志
- tail -f ~/logs/rocketmqlogs/broker.log
-
- // 启动成功
- The broker[TF012778.local, 10.50.62.53:10911] boot success
- //停止 broker
- sh mqshutdown broker
-
- //停止 nameserver
- sh mqshutdown namesrv
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。