美文网首页
CentOS7安装ZooKeeper

CentOS7安装ZooKeeper

作者: 小辉哥08 | 来源:发表于2021-06-19 12:01 被阅读0次

1. 下载ZooKeeper

  • 浏览器打开ZooKeeper的下载页:https://zookeeper.apache.org/releases.html
    ZooKeeper下载页.png
  • 点击最新版的下载链接【Apache ZooKeeper 3.7.0】
    ZooKeeper下载链接.png
  • 点击页面的中下载链接,开始下载

2. 安装ZooKeeper

  • 将下载好的压缩包上传到CentOS的/tmp目录
cd /tmp
tar -zxvf /tmp/apache-zookeeper-3.7.0-bin.tar.gz
mv apache-zookeeper-3.7.0-bin /usr/local
cd /usr/local/apache-zookeeper-3.7.0-bin/conf
cp zoo_sample.cfg zoo.cfg
cd /usr/local/apache-zookeeper-3.7.0-bin/bin
./zkServer.sh start
zookeeper start.png

相关文章

网友评论

      本文标题:CentOS7安装ZooKeeper

      本文链接:https://www.haomeiwen.com/subject/smyzeltx.html