Zookeepe installed under Linux, Baidu cloud download

Copyright: Feel free to reprint! https://blog.csdn.net/qq_41723615/article/details/90229290

download link:

https://pan.baidu.com/s/1sdc-NBddOW3zxZfcY-wFGQ             extraction code: 9lya        

 

The first step, after downloading the archive will be uploaded to a Linux system: archive directory: d: \ ZooKeeper-3.4.14.tar.gz

Alt + P into the SFTP, enter put d: \ zookeeper-3.4.14.tar.gz upload

The second step, decompression

tar -zxvf zookeeper-3.4.14.tar.gz

The third step is to enter the zookeeper-3.4.14 directory, create data folder.

mkdir data

Step 4: Enter conf directory, zoo_sample.cfg renamed zoo.cfg

cd conf

mv zoo_sample.cfg zoo.cfg

Step five: Open zoo.cfg, modify the data attributes:

dataDir=/root/zookeeper-3.4.14/data

Step Six: Enter the bin directory to start the service

cd ..

cd bin

 ./zkServer.sh start

Seventh step, view the status

 ./zkServer.sh status

The eighth step, shut down service

./zkServer.sh stop

 

Guess you like

Origin blog.csdn.net/qq_41723615/article/details/90229290