Below you will find pages that utilize the taxonomy term “zookeeper”
Posts
zookeeper3.4.6集群安装
zookeeper3.4.6 集群安装 安装 java 环境
下载地址 https://archive.apache.org/dist/zookeeper/zookeeper-3.4.6/
tar -zxvf zookeeper-3.4.6.tar.gz 创建目录 mkdir -p /opt/usr/zookeeper/2184 mkdir -p /opt/usr/zookeeper/2183 mkdir -p /opt/usr/zookeeper/2182 移动文件 cd zookeeper-3.4.6 mv * /opt/usr/zookeeper/2184 创建 data 目录 cd /opt/usr/zookeeper/2184 mkdir data 修改 myid echo 4 > data/myid 复制修改配置文件 cd conf cp zoo_sample.cfg zoo.cfg vim zoo.cfg # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored.