Zookeeper安装
安装包下载地址:
https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
1.将tar包放到/usr/local下
安装:
tar -zxvf zookeeper-3.4.6.tar.gz
cd zookeeper-3.4.6/
新建文件夹
mkdir data
pwd显示当前路径
cd ../ conf
mv zoo_sample.cfg zoo.cfg
vim zoo.cfg,将dataDir改为data目录位置
cd ../bin
开启zookeeper
关闭zookeeper
csdn:https://blog.csdn.net/weixin_44982675/article/details/90612121