系列十二、Linux中安装Zookeeper

一、Linux中安装Zookeeper

1.1、下载安装包

官网:Index of /dist/zookeeper/zookeeper-3.4.11

        系列十二、Linux中安装Zookeeper_第1张图片

我分享的链接:

        链接:https://pan.baidu.com/s/14Hugqxcgp89f2hqGWDwoBw?pwd=yyds 
        提取码:yyds 

1.2、上传至/opt目录

系列十二、Linux中安装Zookeeper_第2张图片 

1.3、解压至/usr/local/目录

tar -zxvf zookeeper-3.4.11.tar.gz -C /usr/local/

系列十二、Linux中安装Zookeeper_第3张图片

1.4、拷贝zoo_sample.cfg并重名名为zoo.cfg

cd /usr/local/zookeeper-3.4.11/conf
cp zoo_sample.cfg zoo.cfg

系列十二、Linux中安装Zookeeper_第4张图片

1.5、启动zookeeper服务端

cd /usr/local/zookeeper-3.4.11/bin
./zkServer.sh start

1.6、查看zookeeper服务端是否启动成功

1.7、查看zookeeper当前的状态

1.8、启动zookeeper客户端

系列十二、Linux中安装Zookeeper_第5张图片

1.9、查看节点信息

系列十二、Linux中安装Zookeeper_第6张图片

1.10、更多指令

https://www.cnblogs.com/zjfjava/p/11909389.html

你可能感兴趣的:(Linux系列,linux)