1、下载
wget https://dlcdn.apache.org/zookeeper/zookeeper-3.6.3/apache-zookeeper-3.6.3-bin.tar.gz
2、解压
tar -zxvf apache-zookeeper-3.6.3-bin.tar.gz
3、进入 apache-zookeeper-3.6.3-bin目录下,创建data
cd apache-zookeeper-3.6.3-bin
mkdir data
4、复制配置文件
cd apache-zookeeper-3.6.3-bin
mkdir data
5、修改zoo.cfg中的data属性
6、启动查看状态