Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ZooKeeper service in Windows

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces you how to install ZooKeeper service in Windows, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Download the ZooKeeper installation package

The version used in this example is 3.4.13

Official website download address: ZooKeeper download link

After downloading and decompressing, the decompression directory is as follows

2. Configure ZooKeeper

Create a new data/logs folder at the same level of the decompressed directory to store ZooKeeper-related data and logs

Go to the / conf folder under the installation directory, copy zoo_sample.ctg and create a new zoo.ctg file, and modify the contents as follows

# The number of milliseconds of eachtick heartbeat interval milliseconds per tickTime=2000# The number of ticks that the initial initialization connection timeout # synchronization phase can takeinitLimit=10# The number of ticks that can pass between# sending a request and gettinganacknowledgementsyncLimit=5# the directory where the snapshotisstored. / / Mirror data location dataDir=E:\\ zookeeper\\ data# log location dataLogDir=E:\\ zookeeper\\ logs# the port at which the clientswillconnect client connection port clientPort=2181 3. Start the service

Go to the bin directory under the installation directory and double-click zkServer.cmd

Double-click the zhCli.cmd connection test

On how to install ZooKeeper services in Windows to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report