rocketmq + rocketmq console
unzip rocketmq-all-4.9.2-source-release.zip
cd rocketmq-all-4.9.2-source-release.zip
nohup sh bin/mqnamesrv &
nohup sh bin/mqbroker -n 192.168.11.11:9876 &
#rocketmq console
unzip 包名
vim /usr/local/external/rocketmq-console/src/main/resources/application.properties
rocketmq.config.namesrvAddr= 本机IP
rocketmq.config.isVIPChannel=false
编译rocketmq-console
编译命令:mvn clean package -Dmaven.test.skip=true(注意:不要直接使用mvn package,会提示很多错误,在rocketmq-console的目录下执行)
再启动jar包
cd /usr/local/externals/rocketmq-console/target/
nohup java -jar rocketmq-console-ng-1.0.0.jar &