系统相关
首页 > 系统相关> > centos7.9配置zookeeper

centos7.9配置zookeeper

作者:互联网

一 download zookeeper

https://dlcdn.apache.org/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gzhttps://dlcdn.apache.org/zookeeper/zookeeper-3.7.0/apache-zookeeper-3.7.0-bin.tar.gz

二 配置

1解压缩至目标位置

tar -zxvf apache-zookeeper-3.7.0.tar.gz -C /usr/local/***** 

2配置(在hadoop102上)

cd /usr/local/my_server/apache-zookeeper-3.7/
mkdir zkdatas/
cd conf/

cp zoo_sample.cfg zoo.cfg
vi zoo.cfg

dataDir  改为自己的zookeeper/zkdatas绝对路径
#25行去掉注释  

标签:配置,tar,3.7,cfg,zookeeper,zoo,centos7.9,apache
来源: https://blog.csdn.net/qq_54549617/article/details/122188733