传送门:rocketmq-all-4.5.1-bin-release.zip
环境要求:JDK1.8、4G可用内存
2.Linux安装解压
unziprocketmq-all-4.5.1-bin-release.zip
切换到RocketMQ目录
cdrocketmq-all-4.5.1-bin-release
启动NameServer
#启动nameservernohupshbin/mqnamesrv#验证是否启动oktail-f~/logs/rocketmqlogs/namesrv.log#如果成功启动,能看到类似如下的日志:-07-:03:56INFOmain-TheNameServerbootsuccess....
启动Broker
#启动brokernohupshbin/mqbroker-nlocalhost:#验证是否启动oktail-f~/logs/rocketmqlogs/broker.log#如果启动成功,能看到类似如下的日志:-07-:08:41INFOmain-Thebroker[itmuch