zookeeper
1.下载 http://mirror.bit.edu.cn/apache/zookeeper/
2.解压 tar -zxvf zookeeper.tar.gz
3.进入到conf目录
4.拷贝zoo_samle.cfg为zoo.cfg
5.编辑zoo.cfg文件
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/usr/zookeeper (你的安装路径)
clientPort=2181
6.设置环境变量
export ZOOKEEPER_HOME=/usr/zookeeper-3.4.12(你的安装路径) export PATH=$ZOOKEEPER_HOME/bin:
7.启动
cd ../../bin
./zkServer.sh start