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

Zookeeper Picture and text installation

2025-02-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

1. Download zookeeper, the version of zookeeper-3.4.5.tar.gz used in this tutorial, decompress it after download, and use the command tar-zxvf zookeeper-3.4.5.tar.gz to complete the decompression.

two。 After the decompression is complete, delete the compressed package

3. Enter the zokkeeper.3.4.5 directory and delete unnecessary files and directories

4. Modify the profile name and add relevant configuration information

5. Copy zookeeper to other nodes, where three machines are prepared for installation of zookeeper, namely node6,node7,node8

6. Create directories and files configured in the configuration file in three nodes, and the contents of the myid in each node need to be consistent with the values configured in the configuration file.

7. Start zookeeper through the. / zkServer.sh start command

8. Check the startup status through the. / zkServer.sh statust command. The status of the node6,node7,node8 is as follows

9. Start zookeeper by script. The script content is as follows

#! / bin/bashfor host in node6 node7 node8doecho "$host is starting...." ssh $host "/ zookeeper-3.4.5/bin/zkServer.sh start" done

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.

Share To

Internet Technology

Wechat

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

12
Report