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

来源:互联网 发布:js修改微信分享的内容 编辑:程序博客网 时间:2024/05/21 11:33

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-assemblyvi conf/dubbo.properties1   ##     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:218323行 协议端口,端口号只要是没有被占用就行24行 jetty提供web服务的端口号,即通过 浏览器访问 监控中心的端口号其他的配置默认就行,当然也可以自己配置。保存以上配置启动过程tail -f /usr/local/dubbo-monitor-simple-2.5.3/logs/stdout.logcd /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/ 显示页面
这里写图片描述

0 0
原创粉丝点击