wget https://mirrors.bfsu.edu.cn/apache/zookeeper/zookeeper-3.6.1/apache-zookeeper-3.6.1-bin.tar.gztar -zxvf apache-zookeeper-3.6.1-bin.tar.gz -C /usr/local/mkdir data logscp conf/zoo_sample.cfg conf/zoo.cfgdataDir=../data dataLogDir=../logsbin/zkServer.sh startbin/zkServer.sh statustail -20f logs/zookeeper-root-server-localhost.localdomain.out原文:https://www.cnblogs.com/JaminYe/p/13584550.html