how to install apache zookeeper in Linux
Hi Techrunnr Readers, this document deals with how to install apache zookeeper in linux.
Apache ZooKeeper is a software project of the Apache Software Foundation. It is essentially a centralized service for distributed systems to a hierarchical key-value store, which is used to provide a distributed configuration service, synchronization service, and naming registry for large distributed systems.
* Linux machine with java installed, if not install follow here.
Step 1: Once you configured java in your Linux machine, download the latest zookeeper from the official site.
Step 2: Extract the package
Step 3: Create the data folder
Step 4: Configure zookeeper as follows,
Make zoo.cf looks like this
step 5: Now zookeeper setup is ready. Now you can start zookeeper.
Step 6: Start CLI using the following command
Step 7: Stop ZooKeeper Server
After connecting the server and performing all the operations, you can stop the zookeeper server by using the following command.
© 2018, Techrunnr. All rights reserved.