dubbo-admin打包和zookper安装

Posted 大佛拈花-GoSaint

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dubbo-admin打包和zookper安装相关的知识,希望对你有一定的参考价值。

1 首选安装Zookper,下载zookeeper-3.5.3-beta版本,在这里我主要演示这个;下载地址:http://mirrors.hust.edu.cn/apache/zookeeper/

下面是Zookper的安装目录:

 

 2 进入conf文件夹进行配置,这里主要配置的是zookper工作数据的目录和日志的目录;我的配置如下:

  修改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 an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just 
# example sakes.
dataDir=D://zookiper/zookeeper/data
# the port at which the clients will connect
clientPort=2181
# the maximum number of client connections.
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the 
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1

再之后启动zkServer.cmd:

类似如上图的界面:证明Zookper连接成功,也可以启动客户端连接下;

3 下载dubbo的源码包,这里可以去Github上下载,下载完成后如下:

4 看到dubbo-admin文件夹:就对这个文件夹进行打包就OK啦;

  运行cmd:输入 mvn package -Dmaven.skip.test=true  命令即可打包;

  之后将打好的包放在tomcat下面的webapp下,启动tomcat之后,访问http://localhost:8096/dubbo-admin-2.5.8/  用户名:root  密码:root

看如下的界面:

 

以上是关于dubbo-admin打包和zookper安装的主要内容,如果未能解决你的问题,请参考以下文章

消息中间件之zookper安装部署

Hadoop2.6+Zookper3.4+Hbase1.0部署安装

dubbo环境的搭建

dubbo-admin 管理平台

dubbo-admin管理平台搭建

Dubbo-Admin 2.6.1以及后续版本管理平台的安装