windows下安装配置zookeeper
程序员文章站
2022-03-15 13:49:36
...
下载zookeeper后解压
在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=D:\\work\\zookeeper-3.3.6\\data
dataLogDir=D:\\work\\zookeeper-3.3.6\\log
# the port at which the clients will connect
clientPort=2181
进入bin目录启动zkServer.cmd
成功
在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=D:\\work\\zookeeper-3.3.6\\data
dataLogDir=D:\\work\\zookeeper-3.3.6\\log
# the port at which the clients will connect
clientPort=2181
进入bin目录启动zkServer.cmd
成功
推荐阅读
-
JavaWeb入门——在Windows环境下安装Tomcat服务器
-
windows下jsp+mysql网站环境配置方法第1/2页
-
Windows Apache2.4 VC9(ApacheHaus)详细安装配置教程
-
Windows系统下Nginx服务器的基本安装和配置方法介绍
-
实现在Windows下安装Lighttpd的方法
-
windows下rsync的数据同步安装配置方法
-
windows下安装mysql-8.0.18-winx64的教程(图文详解)
-
linux下配置和安装KVM虚拟机的步骤
-
win10下mysql 8.0.12 安装及环境变量配置教程
-
win10家庭版64位下mysql 8.0.15 安装配置方法图文教程