Zookeeper安装与调优部署参考文档(Linux)
1. 安装环境准备 1.1 主机环境准备 1.1.1. 关闭selinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config setenforce 0 1.1.2. 软件下载 apache-zookeeper-3.6.1-bin.tar.gz: 下载地址 1.1.3. 部署规划 软件安装路径 /usr/local/zookeeper 端口规划 2192 1.1.4. 系统主机时间、时区、系统语言 本节视实际情况需要操作 修改时区 ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 修改系统语言环境 echo 'LANG="en_US.UTF-8"' >> /etc/profile && source /etc/profile 配置主机NTP时间同步 yum -y install ntp systemctl enable ntpd && systemctl start ntpd echo 'server ntp1.aliyun.com' >> /etc/ntp.conf echo 'server ntp2.aliyun.com' >> /etc/ntp.conf 2. Zookeeper安装部署 2.1