linux下安装Zookeeper 3.4.14
1、下载Zookeeper 3.4.14(https://zookeeper.apache.org/)
wget https://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz
2、解压到 /usr/local
tar -zxvf zookeeper-3.4.14.tar.gz -C /usr/local
cp zoo_sample.cfg zoo.cfg
3、进入conf目录查看、并启动zk
启动 ./zkServer.sh start 停⽌ ./zkServer.sh stop 查看状态 ./zkServer.sh status
4、查看进程启动情况
ps -ef|grep zookeeper
5、端口
netstart -anp|grep 2181