zookeeper的安装
1、下载
wget --no-check-certificate --no-cookies https://downloads.apache.org/zookeeper/zookeeper-3.8.0/apache-zookeeper-3.8.0-bin.tar.gz
2、解压
tar -zxvf apache-zookeeper-3.8.0-bin.tar.gz
mv apache-zookeeper-3.8.0-bin /usr/local/zookeeper
创建数据目录和日志目录
mkdir /usr/local/zookeeper/data
mkdir /usr/local/zookeeper/logs