一、下载Zookeeper-3.4.13
二、解压Zookeeper-3.4.13到/usr/local/,并该名为zookeeper
略
三、配置Zookeeper
1.复制模版文件zoo_sample.cfg为zoo.cfg
cp /usr/local/zookeeper/conf/zoo_sample.cfg /usr/local/zookeeper/conf/zoo.cfg
2.修改配置文件zoo.cfg
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass be