dubbo-monitor-simple-2.5.3-assembly 简易监控中心安装

dubbo-monitor-simple-2.5.3-assembly资源下载

dubbo-monitor是一个web工程,是基于内嵌的jetty。dubbo-monitor是使用java编写的项目,所以需要安装jdk。

安装过程
tar zxvf dubbo-monitor-simple-2.5.3-assembly
配置过程
cd dubbo-monitor-simple-2.5.3-assembly
vi conf/dubbo.properties

1   ##
     2  # Copyright 1999-2011 Alibaba Group.
     3  #  
     4  # Licensed under the Apache License, Version 2.0 (the "License");
     5  # you may not use this file except in compliance with the License.
     6  # You may obtain a copy of the License at
     7  #  
     8  #      http://www.apache.org/licenses/LICENSE-2.0
     9  #  
    10  # Unless required by applicable law or agreed to in writing, software
    11  # distributed under the License is distributed on an "AS IS" BASIS,
    12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  # See the License for the specific language governing permissions and
    14  # limitations under the License.
    15  ##
    16  dubbo.container=log4j,spring,registry,jetty
    17  dubbo.application.name=simple-monitor
    18  dubbo.application.owner=
    19  dubbo.registry.address=multicast://224.5.6.7:1234
    20  #dubbo.registry.address=zookeeper://127.0.0.1:2181
    21  #dubbo.registry.address=redis://127.0.0.1:6379
    22  #dubbo.registry.address=dubbo://127.0.0.1:9090
    23  dubbo.protocol.port=7070
    24  dubbo.jetty.port=9090
    25  dubbo.jetty.directory=${user.home}/monitor
    26  dubbo.charts.directory=${dubbo.jetty.directory}/charts
    27  dubbo.statistics.directory=${user.home}/monitor/statistics
    28  dubbo.log4j.file=logs/dubbo-monitor-simple.log
    29  dubbo.log4j.level=WARN

注释掉19行
去掉20行的 #,将ip 端口号 修改为 zookeeper服务器的ip地址端口号,如果你的zookeeper是集群,则注册地址修改为zookeeper://127.0.0.1:2181?backup=127.0.0.1:2182,127.0.0.1:2183
23行 协议端口,端口号只要是没有被占用就行
24行 jetty提供web服务的端口号,即通过 浏览器访问 监控中心的端口号
其他的配置默认就行,当然也可以自己配置。

保存以上配置
启动过程
tail -f /usr/local/dubbo-monitor-simple-2.5.3/logs/stdout.log
cd /usr/local/dubbo-monitor-simple-2.5.3/bin
./start.sh
执行命令 ./start.sh 后 stdout.log日志文件会输出
[2016-03-01 11:30:46] Dubbo service server started!
说明启动成功

浏览器访问地址 http://192.168.17.129:9090/ 显示页面
这里写图片描述

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值