mkdir /usr/local/zookeeper
解压
cd zookeeper压缩包所在目录
tar -xvf zookeeper-3.4.12.tar.gz -C /usr/local/zookeeper
新建目录
mkdir /usr/local/zookeeper/zookeeper-3.4.12/data
配置文件准备
cp /usr/local/zookeeper/zookeeper-3.4.12/conf/zoo_sample.cfg /usr/local/zookeeper/zookeeper-3.4.12/conf/zoo.cfg