一、Linux中安装Zookeeper
1.1、下载安装包
官网:Index of /dist/zookeeper/zookeeper-3.4.11
我分享的链接:
链接:https://pan.baidu.com/s/14Hugqxcgp89f2hqGWDwoBw?pwd=yyds
提取码:yyds
1.2、上传至/opt目录
1.3、解压至/usr/local/目录
tar -zxvf zookeeper-3.4.11.tar.gz -C /usr/local/
1.4、拷贝zoo_sample.cfg并重名名为zoo.cfg
cd /usr/local/zookeeper-3.4.11/conf
cp zoo_sample.cfg zoo.cfg
1.5、启动zookeeper服务端
cd /usr/local/zookeeper-3.4.11/bin
./zkServer.sh start
1.6、查看zookeeper服务端是否启动成功
1.7、查看zookeeper当前的状态
1.8、启动zookeeper客户端
1.9、查看节点信息
1.10、更多指令
https://www.cnblogs.com/zjfjava/p/11909389.html