Mac安装zookeepr-1
2019-01-04 本文已影响5人
liuzx32
通过brew命令安装ZK
$brew info zookeeper
$brew install zookeeper
#
默认安装目录为:/usr/local/etc/zookeeper
默认配置文件为:/usr/local/etc/zookeeper/zoo.cfg
#
通过命令启动/登录ZK
$zkServer
$zkServer status
$zkServer start
$zkCli 登录
$zkCli -server localhost:2181
#