标签:bsp rocketmq 移动文件 改名 下载安装 boot class mock The
1、下载安装包:https://www.apache.org/dyn/closer.cgi?path=rocketmq/4.2.0/rocketmq-all-4.2.0-bin-release.zip
2、解压文件tar -zxvf rocketmq-all-4.2.0-bin-release.zip
3、移动文件并修改名字mv rocketmq-all-4.2.0-bin-release/ /usr/local/rocketmq/rocketmq-all-4.2.0-bin-release
4、进入bin目录
启动namesrv
nohup sh mqnamesrv &
查看日志
tail -f nohup.out
结尾:The Name Server boot success. serializeType=JSON 表示启动成功
启动broker
nohup sh mqbroker -n 127.0.0.1:9876 &
关闭 nameserver broker执行的命令
sh mqshutdown namesrv
sh mqshutdown broker
标签:bsp rocketmq 移动文件 改名 下载安装 boot class mock The
原文地址:https://www.cnblogs.com/wxk515/p/12158733.html