标签:gdi star server data linux .gz mirror nbsp beta
1.下载
wget http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.5.3-beta/zookeeper-3.5.3-beta.tar.gz
2.解压
tar -xvf zookeeper-3.5.3-beta.tar.gz -C /usr/local/zookeeper-3.5.3
3.修改zook.cfg
cp zoo_sample.cfg zoo.cfg
vim zoo.cfg(增加dataLogDir=/usr/local/zookeeper/log)
4.设置环境变量
export ZOOKEEPER_HOME=/usr/local/zookeeper-3.5.3
export PATH=$PATH:$ZOOKEEPER_HOME/bin
5.启动
./zkServer.sh start
标签:gdi star server data linux .gz mirror nbsp beta
原文地址:http://www.cnblogs.com/wanshi1989/p/6912020.html