zoukankan      html  css  js  c++  java
  • Zookeeper安装,Linux系统上

    1. 安装zookeeper

    1.1. 上传zookeeper

    1.2. 安装zookeeper的前提条件

    必须配置好jdk环境,因为zookeeper是使用java编写的.

    1.3. 安装

    # mkdir /usr/local/src/zookeeper

    #  tar -zxvf zookeeper-3.4.6.tar.gz  -C /usr/local/src/zookeeper/

    # cd /usr/local/src/zookeeper/zookeeper-3.4.6

    # mkdir data

    # cd /usr/local/src/zookeeper/zookeeper-3.4.6/conf

    # mv zoo_sample.cfg zoo.cfg

    # vim zoo.cfg

    1.4. Zookeeper命令

    # cd /usr/local/src/zookeeper/zookeeper-3.4.6/bin

    # ./zkServer.sh start

    {start|start-foreground|stop|restart|status|upgrade|print-cmd}

    1.5. Zookeeper开放端口号 2181

    停止防火墙:

    #service iptables stop

    把防火墙设置为开启不启动:

    # chkconfig iptables off

    1. 安装zookeeper

    1.1. 上传zookeeper

    1.2. 安装zookeeper的前提条件

    必须配置好jdk环境,因为zookeeper是使用java编写的.

    1.3. 安装

    # mkdir /usr/local/src/zookeeper

    #  tar -zxvf zookeeper-3.4.6.tar.gz  -C /usr/local/src/zookeeper/

    # cd /usr/local/src/zookeeper/zookeeper-3.4.6

    # mkdir data

    # cd /usr/local/src/zookeeper/zookeeper-3.4.6/conf

    # mv zoo_sample.cfg zoo.cfg

    # vim zoo.cfg

    1.4. Zookeeper命令

    # cd /usr/local/src/zookeeper/zookeeper-3.4.6/bin

    # ./zkServer.sh start

    {start|start-foreground|stop|restart|status|upgrade|print-cmd}

    1.5. Zookeeper开放端口号 2181

    停止防火墙:

    #service iptables stop

    把防火墙设置为开启不启动:

    # chkconfig iptables off

  • 相关阅读:
    【JBPM4】创建流程实例
    【JBPM4】流程部署
    Table上下滚动
    oracle 导入dmp文件
    Win7下安装Oracle 10g
    【Hibernate3.3复习知识点二】
    通过IP地址和子网掩码计算主机数
    vue.js知识总结
    vue生产环境部署总结
    移动端上遇到的各种坑与相对解决方案
  • 原文地址:https://www.cnblogs.com/tanyucong/p/8926828.html
Copyright © 2011-2022 走看看