通过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
#
通过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
#
本文标题:Mac安装zookeepr-1
本文链接:https://www.haomeiwen.com/subject/rxkkrqtx.html
网友评论