Zookeeper 在 Windows下的安装(入门)
2017-11-07 15:41
295 查看
下面使用的是 zookeeper-3.5.2-alpha.tar.gz 的版本。
启动后jps可以看到QuorumPeerMain的进程
D:\machine\zookeeper-3.5.2\bin >jps
启动客户端运行查看一下
D:\machine\zookeeper-3.5.2\bin>zkCli.cmd -server 127.0.0.1:2181
1、必须配置好JDK环境
2、下载Zookeeper
使用清华大学开源软件镜像站 :https://mirrors.cnnic.cn/apache/zookeeper/3、Zookeeper的配置
解压 zookeeper-3.5.2-alpha.tar.gz 后,在conf 目录下 新建一下 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:\\zookeeper\\data\\ #日志位置 dataLogDir=D:\\zookeeper\\logs\\ # the port at which the clients willconnect 客户端连接的端口 clientPort=2181
4、启动
进入到bin目录,并且启动zkServer.cmd,这个脚本中会启动一个java进程D:\machine\zookeeper-3.5.2>cd bin D:\machine\zookeeper-3.5.2\bin> D:\machine\zookeeper-3.5.2\bin>zkServer.cmd
启动后jps可以看到QuorumPeerMain的进程
D:\machine\zookeeper-3.5.2\bin >jps
启动客户端运行查看一下
D:\machine\zookeeper-3.5.2\bin>zkCli.cmd -server 127.0.0.1:2181
相关文章推荐
- zookeeper windows 入门安装和测试
- zookeeper windows 入门安装和测试
- zookeeper windows 入门安装和测试
- zookeeper windows 入门安装和测试
- 在windows下 zookeeper 入门安装和测试
- Windows安装和使用zookeeper(入门)
- zookeeper windows 入门安装和测试
- zookeeper windows 入门安装和测试
- zookeeper windows 入门安装和测试
- Windows环境下solrCloud 6.x的配置安装(单机模拟多服务器) - zookeeper部署
- zookeeper windows安装和使用
- xgboost入门以及windows下安装及使用一
- 步一步 Mac OS X 与 Windows 7 双系统共存 的“黑苹果” 电脑 安装 入门
- gitHub使用入门和github for windows的安装教程
- React native android 入门之windows安装
- windows 安装 zookeeper 并测试
- zookeeper 安装 windows环境
- Windows安装和使用zookeeper
- rabbitMQ WINDOWS 安装 入门
- windows下安装easy_install,pip,及flask入门教程链接