标签:logs zoo.cfg oca 3.4 cal local start 获取 linux安装
(1)获取镜像文件:
wget -c https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/zookeeper-3.4.12/zookeeper-3.4.12.tar.gz
(2)解压安装zk
tar -zxvf zookeeper-3.4.12.tar.gz
mkdir -p /usr/local/server/zookeeper-3.4.12
mv zookeeper-3.4.12 /usr/local/server/zookeeper-3.4.12
cd /usr/local/server/zookeeper-3.4.12
mkdir data
mkdir logs
cd conf
cp zoo_sample.cfg zoo.cfg
vi zoo.cfg
(3)记住zoo.cfg文件位置
/usr/local/server/zookeeper-3.4.12/zookeeper-3.4.12/conf
配置该文件
(4)进入bin目录
./zkServer.sh start
启动zk
标签:logs zoo.cfg oca 3.4 cal local start 获取 linux安装
原文地址:https://www.cnblogs.com/tuanz/p/9262996.html