ZooKeeper 安装

https://zookeeper.apache.org/doc/r3.5.5/zookeeperStarted.html

  • 测试
  • 配置端口:2182
  • 管理目录: /opt/soft/zookeeper/zookeeper-3.4.14
  • 配置文件:/opt/soft/zookeeper/zookeeper-3.4.14/conf/zoo.cfg
  • 启动命令: /opt/soft/zookeeper/zookeeper-3.4.14/bin/zkServer.sh start
  • 停止命令: /opt/soft/zookeeper/zookeeper-3.4.14/bin/zkServer.sh stop
  • 连接命令:/opt/soft/zookeeper/zookeeper-3.4.14/bin/zkCli.sh -server 127.0.0.1:2182