windows下安装DUBBO-admin管控台

想在windows下查看dubbo服务的状态,在网上看到不少相关的资料,但是总有一些地方出问题,现在将自己经过测试可以正常使用的配置的过程写下来
1,解压zookeeper-3.3.6到D盘
2.复制D:\zookeeper-3.3.6\conf中的zoo_sample.cfg名字为zoo.cfg,并修改其内容

The number of milliseconds of each tick 心跳间隔 毫秒每次
tickTime=2000

The number of ticks that the initial
synchronization phase can take
initLimit=10

The number of ticks that can pass between
sending a request and getting anacknowledgement
syncLimit=5

the directory where the snapshot isstored. //镜像数据位置
dataDir=D:\data\zookeeper

日志位置
dataLogDir=D:\logs\zookeeper

the port at which the clients willconnect 客户端连接的端口
clientPort=2181

3.安装dubbo-admin,将dubbo-admin.war文件解压到D:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT 目录下,修改web-inf下的dubbo.properties为

dubbo.registry.address=zookeeper://127.0.0.1:2181 
dubbo.admin.root.password=root 
dubbo.admin.guest.password=guest 

4.启动zookeeper,windows下双击D:\zookeeper-3.3.6\bin\zkServer.cmd
5.启动tomcat,双击D:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7.exe

8.浏览器输入http://localhost:8080/ 用户名/密码为 root/root

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值