zookeeper部署安装

Posted 好大的月亮

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zookeeper部署安装相关的知识,希望对你有一定的参考价值。

下载安装包

https://www.apache.org/dyn/closer.cgi/zookeeper/

tar -zxvf apache-zookeeper-3.6.3-bin.tar.gz
cd conf
cp zoo_sample.cfg zoo.cfg
cd ../bin
./zkServer.sh start


#查看zookeeper状态:
/usr/local/zookeeper-3.4.5/bin/zkServer.sh status

#zookeeper启动
/usr/local/zookeeper-3.4.5/bin/zkServer.sh start

#zookeeper停止
/usr/local/zookeeper-3.4.5/bin/zkServer.sh stop

#zookeeper重启
/usr/local/zookeeper-3.4.5/bin/zkServer.sh restart

查看dubbo和springboot之间的版本匹配

https://github.com/apache/dubbo-spring-boot-project/blob/master/README_CN.md

引入maven依赖

<dependency>
    <groupId>org.apache.dubbo</groupId>
    <artifactId>dubbo-spring-boot-starter</artifactId>
    <version>2.7.15</version>
</dependency>

以上是关于zookeeper部署安装的主要内容,如果未能解决你的问题,请参考以下文章

Zookeeper安装部署

Zookeeper安装部署

20190426 部署Zookeeper集群

zookeeper安装及部署

大数据之Zookeeper:Zookeeper分布式安装部署

zookeeper安装部署