Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Linux start zookeeper

2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how Linux starts zookeeper". In daily operation, I believe many people have doubts about how Linux starts zookeeper. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how Linux starts zookeeper". Next, please follow the editor to study!

ZooKeeper is a distributed, open source distributed application coordination service, an open source implementation of Google's Chubby, and an important component of Hadoop and Hbase.

Specific steps for Linux to start zookeeper:

1. To upload zookeeper to the server, you can use the shortcut key (ALT + p) or click File- "Connect SFTP session"

2. Decompress the tar zxf zookeeper-3.4.6.tar.gz package

3. Go to the extracted folder and go to the bin directory to find that the .sh service runs under linux and the .cmd service runs under windows.

4. You need to configure it before starting the service.

4.1 create a data directory under the same level of the bin directory

4.2 enter the config directory and change the name of zoo_sample.cfg to zoo.cfg

Edit zoo.cfg to change the value of dataDir to the path of the data directory created previously

5. After the configuration is completed, change to the bin directory to start the service:. / zkServer.sh start

6. Check whether the service is started successfully. Start the service in singleton mode:. / zkServer.sh status

7. If you need to shut down the service:. / zkServer.sh stop

At this point, the study on "how Linux starts zookeeper" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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: 268

*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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report