1.把安装包拷贝到目标目录下
2.解压:tar -zxvf apache-zookeeper-3.6.0-bin.tar.gz
3.删除安装包 rm -rf apache-zookeeper-3.6.0-bin.tar.gz
4.进入apache-zookeeper-3.6.0-bin下
命令:cd apache-zookeeper-3.6.0-bin
5.进入zookeeper配置文件conf 对 zoo_sample.cfg重命名为 zoo.cfg
命令:mv zoo_sample.cfg zoo.cfg
6.进入到zookeeper的bin 目录下启动服务
命令: ./zkServer.sh start ../conf/zoo.cfg
ok完事