关于centos:92centos安装zookeeper

40次阅读

共计 372 个字符,预计需要花费 1 分钟才能阅读完成。

wget http://mirror.bit.edu.cn/apac…

或者是这个地址:
wget https://downloads.apache.org/…

tar zxf apache-zookeeper-3.5.9-bin.tar.gz -C /home

cd /home
mv apache-zookeeper-3.5.9-bin zookeeper

cd /home/zookeeper/conf
cp zoo_sample.cfg zoo.cfg
vi zoo.cfg
批改 zoo.cfg 配置文件为:
dataDir=/home/zookeeper/data
dataLogDir=/home/zookeeper/logs

cd /home/zookeeper/
mkdir data
mkdir logs

sh /home/zookeeper/bin/zkServer.sh start

正文完
 0