一、参考
elasticsearch 学习系列目录——更新ing
ZooKeeper Getting Started Guide
二、装置运行
2.1 下载解压tar
包
Apache ZooKeeper™ Releases
/Users/yz/work/env/zktar -zvxf apache-zookeeper-3.7.0-bin.tar.gzcd apache-zookeeper-3.7.0-bin
2.2 运行zkServer
启动之前须要配置文件 zoo.cfg
cd /Users/yz/work/env/zk/apache-zookeeper-3.7.0-bincp zoo_sample.cfg zoo.cfg./zkCli.sh start