ZooKeeper download installation (Windows version)

Go to the official Apache ZooKeeper website to download, https://zookeeper.apache.org/releases.html

share picture

share picture< /p>

Here we choose zookeeper-3.4.12 version to download

Share Picture

Share a picture

Baidu network disk download

Link: https://pan.baidu.com/s/1HOEcfGpg7CqAm28cOhGzuA Password: ap4n

installation

will download Unzip the zookeeper-3.4.12.tar.gz to the common installation directory.

Share pictures

Copy the zoo_sample.cfg file in the conf directory and rename it to zoo.cfg

Share pictures

Modify the zoo.cfg configuration file, and modify dataDir=/tmp/zookeeper to the data folder where the zookeeper installation directory is located (requires Create an empty data folder and log folder under the installation directory), and add a configuration to add data logs, as shown in the figure below

share picture

Share a picture

Start zookeeper, determine whether the installation is successful, double-click to run the zkServer.cmd file in the bin directory.

share Picture

Add zookeeper plugin to Intelij IDEA
1. Click the “Settings” icon in the toolbar, In the pop-up window, select the Plugins option and search for zookeeper to install it.

Share pictures

2. After restarting the IDEA development tool, check whether the installation is successful

share picture

share picture

Reprinted to: https://blog.csdn.net/ring300/article/ details/80446918

Leave a Comment

Your email address will not be published.