1. 下载安装包,解压
https://github.com/alibaba/RocketMQ
2. cmd
3. 启动 mqnameserv
C:\Users\Administrator>cd D:\download\alibaba-rocketmq\bin C:\Users\Administrator>mqnamesrv.exe -n 127.0.0.1:9876;192.168.0.1:9876 ‘mqnamesrv.exe‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。 C:\Users\Administrator>d: D:\download\alibaba-rocketmq\bin>mqnamesrv.exe -n 127.0.0.1:9876 The Name Server boot success.
4. 启动 mqbroker
C:\Users\Administrator>cd D:\download\alibaba-rocketmq\bin C:\Users\Administrator>d: D:\download\alibaba-rocketmq\bin>mqbroker.exe -n 127.0.0.1:9876 The broker[PC-20131214, 192.168.3.15:10911] boot success. and name server is 127.0.0.1:9876
时间: 2024-11-09 21:15:58