首页 > 其他 > 详细

zookeeper安装

时间:2018-04-25 10:11:47      阅读:38      评论:0      收藏:0      [点我收藏+]

标签:zookeeper 安装

==============================zookeeper安装=====================
mkdir /soft
上传zookeeper的tar包
tar xf zookeeper-3.4.10.tar.gz
mv zookeeper-3.4.10 /usr/local
ln -s zookeeper-3.4.10 zookeeper
cd /usr/local/zookeeper/conf/
mv zoo_sample.cfg zoo.cfg

vim zoo.cfg
dataDir=/usr/local/zookeeper/data
dataLogDir=/usr/local/zookeeper/logs

vim /etc/profile

export ZOOKEEPER_HOME=/usr/local/zookeeper/
export PATH=$ZOOKEEPER_HOME/bin:$PATH
export PATH

source /etc/profile

启动
zkServer.sh start
查看状态
zkServer.sh status
关闭
zkServer.sh stop
重启
zkServer.sh reload

zookeeper安装

标签:zookeeper 安装

原文:http://blog.51cto.com/guoshaoliang789/2107553

(0)
(0)
   
举报
评论 一句话评论(0
0条  
登录后才能评论!
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号