解压缩下载的zookeeper
[root@localhost tmp]#tar -zxvf zookeeper-3.5.5.tar.gz
重命名为zookeeper
修改zoo.cfg文件如下:
zoo.cfg
[root@localhost conf]# vi zoo.cfg
创建/tmp/zookeeper和/tmp/zookeeper/log目录,防止报错
/tmp/zookeeper
/tmp/zookeeper/log
启动zookeeper