Windows下安装Zookeeper

1.安装Zookeeper之前,先确保安装好了Java配置了JAVA_HOME

Windows下安装Zookeeper

 双击Windows下安装Zookeeper

新建添加Windows下安装Zookeeper

 2.下载zookeeper-3.4.10,地址:http://archive.apache.org/dist/zookeeper/zookeeper-3.4.10/

Windows下安装Zookeeper

 3.解压后目录D:\Zookeeper\zookeeper-3.4.10

 4.进入conf,新建一个文件夹命名为data

 5.在conf下,复制zoo_sample.cfg副本并重命名为zoo.cfg,打开zoo.cfg,找到并编辑dataDir=D:\Zookeeper\zookeeper-3.4.10\conf\data

 6.添加系统环境变量:在系统变量中添加ZOOKEEPER_HOME = D:\Zookeeper\zookeeper-3.4.10 编辑path系统变量,添加为路径%ZOOKEEPER_HOME%\bin

 7.运行zkserver,出现下图表示成功安装

Windows下安装Zookeeper

Windows下安装Zookeeper

上一篇:ruby:TypeError: 对象不支持此属性或方法


下一篇:scrollIntoView 与 scrollIntoViewIfNeeded API 介绍