环境准备: 1 2 3 172.16.10.145 test-zookeeper1 172.16.10.149 test-zookeeper2 172.16.10.150 test-zookeeper3 JDK 1 2 3 4 java -version openjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode) 下载安装包 https://archive.apache.org/dist/zookeeper/ 安装 解压安装包 1 2 3 4 cd /opt tar axvf zookeeper-3.4.10.tar.gz #创建软连,方法更新 ln