1.下载 https://zookeeper.apache.org/releases.html 2.解压 自定义下载目录(/home/install-package) tar -zxvf /home/install-package/apache-zookeeper-3.9.1-bin.tar.gz 3.创建自定义安装目录、数据目录、日志目录 mkdir /opt/zookeeper mkdir /opt/zookeeper/data mkdir /opt/zookeeper/logs chmod 777 data …