window安装
docker 安装
- 启动NameServer
docker run -d -p 9876:9876 --name rmqserver foxiswho/rocketmq:server-4.5.1
- 启动broker:
docker run -d -p 10911:10911 -p 10909:10909 --name rmqbroker --link rmqserver:namesrv -e “NAMESRV_ADDR=namesrv:9876” -e “JAVA_OPTS=-Duser.home=/opt” -e “JAVA_OPT_EXT=-server -Xms128m -Xmx128m” foxiswho/rocketmq:broker-4.5.1
- 启动rocketmq console:
docker run -d --name rmqconsole -p 8082:8080 --link rmqserver:namesrv -e “JAVA_OPTS=-Drocketmq.namesrv.addr=namesrv:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false” -t styletang/rocketmq-console-ng