tar -xvf zookeeper-3.4.8.tar.gz

Centos 6.5 Zookeeper 安装

   

Centos 6.5 Zookeeper 安装

   

   

Centos 6.5 Zookeeper 安装

   

修改配置文件

Centos 6.5 Zookeeper 安装

   

Centos 6.5 Zookeeper 安装

   

   

测试

Centos 6.5 Zookeeper 安装

   

上传启动脚本,内容如下:

   

#!/bin/bash

#chkconfig:2345 20 90

#description:zookeeper

#processname:zookeeper

zookeeper="/usr/mysoft/zookeeper-3.4.8/bin/zkServer.sh"

case $1 in

start) $zookeeper start;;

stop) $zookeeper stop;;

status) $zookeeper status;;

restart) $zookeeper restart;;

*) echo "require start|stop|status|restart" ;;

Esac

   

执行如下命令

   

Centos 6.5 Zookeeper 安装

   

   

Centos 6.5 Zookeeper 安装

   

Centos 6.5 Zookeeper 安装

   

Centos 6.5 Zookeeper 安装

   

   

   

   

相关文章:

  • 2021-07-28
  • 2021-06-25
  • 2021-12-09
  • 2021-07-30
  • 2021-08-23
  • 2021-08-27
  • 2021-09-10
  • 2021-11-13
猜你喜欢
  • 2022-02-25
  • 2021-05-20
  • 2021-06-13
  • 2021-05-18
  • 2021-12-05
  • 2021-08-11
  • 2021-04-06
相关资源
相似解决方案