RoekerMQ4.x可视化控制台安装

1、下载 https://github.com/apache/rocketmq-externals

2、解压文件tar -zxvf rocketmq-externals-master.zip

3、移动文件并修改名字

mv rocketmq-externals-master/ /usr/local/rocketmq/rocketmq-externals-master
cd /usr/local/rocketmq/rocketmq-externals-master/rocketmq-console/

4、编译打包 

mvn clean package -Dmaven.test.skip=true

5、target目录 通过java -jar的方式运行

cd /usr/local/rocketmq/rocketmq-externals-master/rocketmq-console/target
java -jar rocketmq-console-ng-1.0.1.jar

6、无法连接获取broker信息
  1)修改配置文件,名称路由地址为 namesrvAddr,例如我本机为
  2)src/main/resources/application.properties
    rocketmq.config.namesrvAddr=192.168.0.101:9876

7、默认端口 localhost:8080

 

相关推荐