Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install and run ZeeKeeper

Shulou Source: shulou.com Published: 2022-06-01 02:11:46 09月22日 Update

This article mainly introduces how to install and run ZeeKeeper, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

ZeeKeeper is used to build general distributed applications. Zeekeeper is the distributed coordination service of Hadoop.

(1) download the ZeeKeeper document version.

Http://www.apache.org/dyn/closer.cgi/zookeeper/

(2) decompress the download file

Tar xzf zookeeper-3.5.1-alpha.tar.gz

(3) set the binary directory environment variable and add a good path to the command.

Export ZOOKEEPER_INSTALL=/home/tom/zeekeeperexport PATH = $PATH:$ZOOKEEPER_INSTALL/bin

(4) the configuration file, which is generally named zoo.cfg, is kept in the conf directory.

TickTime=2000dataDir=/user/tom/zeekeeperclientPost=2181

(5) start the service

ZkServer.sh start

(6) check whether zeekeeper is running properly.

Echo ruok | nc localhost 2181 Thank you for reading this article carefully. I hope the article "how to install and run ZeeKeeper" shared by the editor will be helpful to you. At the same time, I also hope you will support us and follow the industry information channel. More related knowledge is waiting for you to learn!

Tags: Articles runs files distributed directories services configurations binaries values interests variables at the same time commands documents more friends versions environment knowledge editing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei MySQL Apple Shulou Information vpn