Moment For Technology

Zookeeper3.5.7 Local Installation process in Windows 10

Posted on Dec. 1, 2022, 5:07 p.m. by Scott Sanchez
Category: The back-end Tag: The back-end

1. Download the installation package

To download website, pay attention to the zookeeper since version 2.6.2 will need to download the installation package with bin, otherwise you will quote org. Apache. Zookeeper. ZooKeeperMain error (I just because this cause to download the installation package to start from scratch again)


2. Decompress the installation

Decompress the compressed package to the common directory, here directly downloaded to disk D, in the current folder new data and log folder

Then copy the zoo_sample. CFG file in the conf directory, rename it to zoo.cfg, and modify the configuration file. The data and log folders are located in the directory

DataDir = D: \ apache - they are - 3.5.7 \ data dataLogDir = D: \ apache - they are - 3.5.7 \ logCopy the code

The most important step: Modify JAVA_HOME

Use Notepad to open zkenv. CMD in the bin directory and add environment variables

Set the JAVA_HOME = "D: \ \ Program Files \ Java \ jdk1.8.0 _261"

Third, start the program

To prevent the rollback, enter CMD /k start zkserver. CMD in the CMD, then start zkcli. CMD and wait until "Welcome to Zookeeper" is displayed.

About (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.