Windows10installzookeeper
官网: https://zookeeper.apache.org/
下载: https://apache.org/dist/zookeeper/
1. unzip
解压到某目录,并记录之,如: D:devzookeeper-3.4.14
2. config data path
{unzip path}/conf/zoo_sample.cfg内,编辑dataDir=D:devzookeeper-3.4.14data(指定数据存放目录)
rename zoo_sample.cfg to zoo.cfg
3.config environment path
ZOOKEEPER_HOME - %ZOOKEEPER_HOME%in
like jdk
4. run it.
命令行: zkserver
Congratulations, your ZooKeeper is up and running on port 2181!
再开个命令行:
telnet localhost 2181 - 连接到zookeepper端口
srvr - 四字命令
reffer links:
https://www.edureka.co/community/39059/installing-zookeeper-on-windows
https://dzone.com/articles/running-apache-kafka-on-windows-os
以上是 Windows10installzookeeper 的全部内容, 来源链接: utcz.com/z/510639.html