Windows单机配置Zookeeper环境
2016-11-09 本文已影响1691人
sphsyv
首先要确保机器已经安装好java环境,并且配置好环境变量


下载后,解压缩到硬盘,我这里解压到了 D:\WorkSoftware\zookeeper_3.4.9

在 D:\WorkSoftware\zookeeper_3.4.9 下建立一个空文件夹 data

进入到conf目录,然后复制zoo_sample.cfg为zoo.cfg

编辑dataDir部分

启动Zookeeper,进入 bin 目录,执行 zkServer.cmd

