1 检查环境jdk 参考:https://blog.csdn.net/weixin_44098426/article/details/128446376
2 解压安装包
mkdir -p /opt/zookeeper
mv /home/wh/software/zk/apache-zookeeper-3.5.7-bin.tar.gz /opt/zookeeper
tar -xzvf apache-zookeeper-3.5.7-bin.tar.gz
3 配置启动
cd /opt/zookeeper/apache-zookeeper-3.5.7-bin/conf
cp zoo_sample.cfg zoo.cfg
mkdir -p /opt/zookeeper/zkData
vi zoo.cfg
4 启动
cd /opt/zookeeper/apache-zookeeper-3.5.7-bin/bin
./zkServer.sh start
./zkServer.sh status
5 zk ui 参考https://blog.51cto.com/gblfy/5652965