赞
踩
目录
Index of /apache/zookeeper/zookeeper-3.9.2
注意:下载带bin的安装包
将1中下载的安装包解压到需要安装的目录
在conf目录下新建配置文件zoo.cfg,文件内容如下
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored
dataDir=\data
dataLogDir=\log
# the port at which the clients will connect
clientPort=2181
server.1=localhost:2287:3387
进入到bin目录下,执行zkServer.cmd脚本,则会启动zookeeper服务
https://blog.csdn.net/u010317829/article/details/52119281
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。