Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Big data II: ZOOKEEPER installation

Shulou Source: shulou.com Published: 2022-06-03 05:15:31 11月24日 Update

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 /

Tags: Variables files environment configuration distributed customers clients folders updates data Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Information MySQL Microsoft OPPO Reno