依賴JRE【我這邊是JRE8】
一,先在https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/stable/下載apache-zookeeper-3.5.6-bin.tar.gz
二,解壓該壓縮包,然后mv apache-zookeeper-3.5.6-bin /usr/local/zookeeper-3.5.6,接着cd /usr/local/zookeeper-3.5.6/
然后執行:mv conf/zoo_sample.cfg conf/zoo.cfg;
三,執行./bin/zkServer.sh start即可啟動zookeeper;
如果是集群配置可以參考:https://blog.csdn.net/qinqinde123/article/details/102854529;
