In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to install ZooKeeper under Linux". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install ZooKeeper under Linux.
ZooKeeper is a reliable coordination system for large-scale distributed systems, which provides functions such as configuration maintenance, name service, distributed synchronization and group service.
Specific steps for Linux to install Zookeeper: 1. Zookeeper download [root@localhost download] # wget http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.10/zookeeper-3.4.10.tar.gz has issued a HTTP request Waiting for a response. 200 OK length: 11833706 (11m) [application/octet-stream] is being saved to: "zookeeper-3.4.10.tar.gz" 100% [= >] 11833706 171KB/s 68s-saved "zookeeper-3.4.10.tar.gz" [11833706 tar]) 2, decompress [root@localhost deploy] # tar-zxvf zookeeper-3.4.10.tar.gz 3, Go to the conf directory and change the zoo_samle.cfg to zoo.cfg [root@localhost conf] # mv zoo_sample.cfg zoo.cfg 4. Edit the zoo.cfg file # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. DataDir=../data dataLogDir=../log # the port at which the clients will connect clientPort=2181 server.1=192.168.147.128:3888 5. Start to enter the bin directory and execute:. / zkServer.sh start
Thank you for reading, the above is the content of "how to install ZooKeeper under Linux". After the study of this article, I believe you have a deeper understanding of how to install ZooKeeper under Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.