Mac之Zookeeper安装

Mac 前提 已经安装了jdk

执行命令

brew install zookeeper
WechatIMG405.jpeg

默认配置文件在 /usr/local/etc/zookeeper/zoo.cfg

执行启动命令:

shumingjiandeMacBook-Pro-2:~ shumingjian$ zkServer start
ZooKeeper JMX enabled by default
Using config: /usr/local/etc/zookeeper/zoo.cfg
Starting zookeeper ... STARTED

你可能感兴趣的:(Mac之Zookeeper安装)