Zookeeper配置

官网下载稳定版

https://zookeeper.apache.org/releases.html

 

 2. 修改配置文件

重命名为zoo.cfg

 3. 运行zkServer.sh

进入bin目录,通过以下命令运行zk

./zkServer.sh start

4. 测试

运行客户端程序

./zkCli.sh

ls /

  create -e /x a

 

posted @ 2023-08-02 17:16  MachineGaming  阅读(19)  评论(0)    收藏  举报