Windows下安装Zookeeper
1.安装Zookeeper之前,先确保安装好了Java配置了JAVA_HOME
双击
新建添加
2.下载zookeeper-3.4.10,地址:http://archive.apache.org/dist/zookeeper/zookeeper-3.4.10/
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,出现下图表示成功安装