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

Big data II: ZOOKEEPER installation

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

Share

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

ZOOKEEPER installation-pseudo distributed

1. Decompress and rename first

Tar zxvf zookeeper-3.4.5-cdh6.14.2.tar.gzmv zookeeper-3.4.5-cdh6.14.2 / opt/bigdata/zk345

two。 Configure zoo.cfg

Cd / opt/bigdata/zk345/confcp zoo_sample.cfg zoo.cfgvi zoo.cfgdataDir=/opt/zkdirserver.1=169.254.211.100:2888:3888

3. Create a zkdir folder

Cd / optmkdir zkdir

4. Configure environment variables

Vi / etc/proflieZOOKEEPER_HOME=/opt/bigdata/zk345PATH=$PATH:$ZOOKEEPER_HOME/bin

5. Update environment variable file

Source / etc/profile

6. Start:

ZkServer.sh start

7. Start the client

ZkCli.sh

8. After checking in,

Ls /

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