参考链接:http://blog.csdn.net/lichunan/article/details/40349645

一、从github上下载dubbo源码进行编译:

  • 1、下载地址为:

      https://github.com/alibaba/dubbo.git
    
  • 2、编译源码命令:首先进入~/dubbo,运行命令

      mvn clean install -Dmaven.test.skip
    

本地搭建Dubbo监控中心的安装步骤

3、dubbo源码结构:

本地搭建Dubbo监控中心的安装步骤

4、编译成功:

本地搭建Dubbo监控中心的安装步骤

二、安装并运行监控中心monitor

  • 1、编译打包dubbo源码后,进入

      D:\IdeaProject\dubbo\dubbo\dubbo-simple\dubbo-monitor-simple\target
    

    目录下,将dubbo-monitor-simple-2.5.4-SNAPSHOT-assembly.tar.gz放到Linux环境下;

  • 2、运行tar zxvf dubbo-monitor-simple-2.5.4-SNAPSHOT-assembly.tar.gz解压包;

  • 3、修改conf目录下的dubbo.properties文件将

      dubbo.registry.address=multicast://224.5.6.7:1234
    

    注释掉,然后新增

      dubbo.registry.address=zookeeper://127.0.0.1:2181
    

    注意:端口为monitor console的web服务端口

              dubbo.jetty.port=8088
    
  • 4、进入bin目录下,运行命令sh start.sh启动监控中心就可以了

三、监控中心启动后的界面

本地搭建Dubbo监控中心的安装步骤

相关文章:

  • 2021-10-21
  • 2021-08-28
  • 2022-12-23
  • 2021-12-26
  • 2021-07-31
  • 2021-09-20
  • 2022-12-23
猜你喜欢
  • 2021-07-06
  • 2021-05-01
  • 2021-04-29
  • 2022-01-09
  • 2022-01-05
  • 2021-10-04
相关资源
相似解决方案