• 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

    看如下的界面:

  • 相关阅读:
    cuda基础----流
    cuda基础---异步并行执行
    cuda基础---cuda通信机制
    cuda基础-----cuda编程模型/软件体系/存储器模型
    大顶堆 小顶堆应用----中位数查找
    Maven配置阿里云镜像
    C++中bool型变量按位取反总是为true
    区分C++的继承、覆盖、隐藏、重载
    C++Primer第5章 语句
    C++Primer第4章 表达式
  • 原文地址:https://www.cnblogs.com/gosaint/p/8640783.html
Copyright © 2020-2023  润新知