【入门】安装Zookeeper

安装Zookeeper

  1. 进入zookeeper设置目录,C:\Develop\Zookeeper\conf

  2. 将"zoo_sample.cfg" 复制一份,重命名为"zoo.cfg"

  3. 打开并编辑 并编辑dataDir=/tmp/zookeeper为指定目录为C:\Develop\Zookeeper\data

  4. 编辑环境变量,Path加 C:\Develop\Zookeeper\bin

  5. 运行cmd,输入

    zkserver
    

参考:http://www.cnblogs.com/liuyuhua/p/5329926.html

你可能感兴趣的:(【入门】安装Zookeeper)