安装Zookeeper
进入zookeeper设置目录,C:\Develop\Zookeeper\conf
将”zoo_sample.cfg” 复制一份,重命名为”zoo.cfg”
打开并编辑 并编辑dataDir=/tmp/zookeeper为指定目录为C:\Develop\Zookeeper\data
编辑环境变量,Path加 C:\Develop\Zookeeper\bin
运行cmd,输入
zkserver
进入zookeeper设置目录,C:\Develop\Zookeeper\conf
将”zoo_sample.cfg” 复制一份,重命名为”zoo.cfg”
打开并编辑 并编辑dataDir=/tmp/zookeeper为指定目录为C:\Develop\Zookeeper\data
编辑环境变量,Path加 C:\Develop\Zookeeper\bin
运行cmd,输入
zkserver