首页 > 其他 > 详细

zookeeper安装

时间:2018-04-25 10:11:47      阅读:192      评论:0      收藏:0      [点我收藏+]
==============================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安装

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!