windows下安装配置zookeeper
程序员文章站
2022-03-15 13:49:42
...
下载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
成功
推荐阅读
-
MAC下mysql安装配置方法图文教程
-
windows下zookeeper配置java环境变量的方法
-
在Windows下安装Apache + PHP3_PHP教程
-
windows8.1 下搭建配置apache+php+mysql,windows8.1apache_PHP教程
-
Windows XP 环境下安装 PHP 5.2.6.
-
PHP使用pear实现mail发送功能 windows环境下配置pear
-
php在windows环境下的安装
-
php下安装配置fckeditor编辑器的方法_php技巧
-
linux下Mysql 的安装、配置、数据导入导出
-
Windows下PHP5和Apache的安装_PHP教程