Go to the official Apache ZooKeeper website to download, https://zookeeper.apache.org/releases.html
< /p>
Here we choose zookeeper-3.4.12 version to download
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.
Copy the zoo_sample.cfg file in the conf directory and rename it to zoo.cfg
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
Start zookeeper, determine whether the installation is successful, double-click to run the zkServer.cmd file in the bin directory.
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.
2. After restarting the IDEA development tool, check whether the installation is successful
Reprinted to: https://blog.csdn.net/ring300/article/ details/80446918