windows下载安装zookeeper
1.官网下载链接:http://mirror.bit.edu.cn/apache/zookeeper/
2.解压,生成文件夹,如:zookeeper-3.4.14
3.zookeeper-3.4.14conf的文件“zoo_sample.cfg”重命名为:zoo.cfg
4.修改zoo.cfg文件:
dataDir=E:常用软件zookeeper-3.4.14data
dataLogDir=E:常用软件zookeeper-3.4.14log
5.配置环境变量:
- 添加变量 ZOOKEEPER_HOME
- 变量值:E:常用软件zookeeper-3.4.14
- 修改变量 path
- 新建:%ZOOKEEPER_HOME%in;%ZOOKEEPER_HOME%conf
6.双击:E:常用软件zookeeper-3.4.14in下的zkServer.cmd文件
出现:binding to port 0.0.0.0/0.0.0.0:2181
6.双击:E:常用软件zookeeper-3.4.14in下的zkCli.cmd文件
出现:WATCHER:
WatchedEvent state:SyncConnected type:None path:null
回车,出现:
[zk: localhost:2181(CONNECTED) 0]
安装成功!
以上是 windows下载安装zookeeper 的全部内容, 来源链接: utcz.com/z/511997.html