zookeeper 3.4.6安装
复制zoo_sample.cfg到当前文件夹命名为zoo.cfg
内容修改如下:
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
# do not use /tmp for storage, /tmp here is just
# example sakes.
#dataDir=/tmp/zookeeper
dataDir=/usr/zookeeper-3.4.6/zookeeper-data
# the port at which the clients will connect
clientPort=2181
# the maximum number of client connections.
# increase this if you need to handle more clients
#maxClientCnxns=60
#
# Be sure to read the maintenance section of the
# administrator guide before turning on autopurge.
#
# http://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_maintenance
#
# The number of snapshots to retain in dataDir
#autopurge.snapRetainCount=3
# Purge task interval in hours
# Set to "0" to disable auto purge feature
#autopurge.purgeInterval=1
server.1=192.168.152.29:2888:3888
server.2=192.168.152.45:2888:3888
在zookeeper-3.4.6目录中,新建目录zookeeper-data,
新建myid文件 ,内容为对应的server.?,?就是内容
将zookeeper-3.4.6拷贝到其他slave中
#启动
zkServer.sh start &
#停止
zkServer.sh stop
#查看状态
zkServer.sh status
zookeeper 3.4.6安装相关推荐
- zookeeper+kafka集群安装之中的一个
zookeeper+kafka集群安装之中的一个 准备3台虚拟机, 系统是RHEL64服务版. 1) 每台机器配置例如以下: $ cat /etc/hosts ... # zookeeper host ...
- 【zookeeper系列】centos7安装zookeeper
目录 1.准备 2.安装与配置 3.运行 1.准备 zookeeper官网地址:http://zookeeper.apache.org/releases.html 下载安装方式 使用wget命令行下载 ...
- Zookeeper(二)——安装
Zookeeper(二)--安装 下载安装包 https://zookeeper/apache.org 前置环境: JDK Linux安装 1.安装 JDK 2)拷贝 apache-zookeeper ...
- kafka和zookeeper下载地址和安装方法和JAVA消费者方法
kafka下载地址:http://archive.apache.org/dist/kafka/3.0.1/kafka_2.13-3.0.1.tgz zookeeper下载地址:http://archi ...
- 尚硅谷大数据技术Zookeeper教程-笔记01【Zookeeper(入门、本地安装、集群操作)】
视频地址:[尚硅谷]大数据技术之Zookeeper 3.5.7版本教程_哔哩哔哩_bilibili 尚硅谷大数据技术Zookeeper教程-笔记01[Zookeeper(入门.本地安装.集群操作)] ...
- ZooKeeper集群环境安装与配置
原文:出自本人的Linux博客http://blog.csdn.net/unix21/ ZooKeeper版本:3.4.5 约定:3台虚拟机 前提:需要安装JDK,关于Linux环境JDK安装配置参考 ...
- zookeeper web ui--gt;node-zk-browser安装
眼下公司正在使用zookeeper做配置管理和其它工作,在网上找几个zookeeper管理工具,都不尽人意,要么功能不够强大,要么不能友好的浏览zk树形结构.我的想法是zk管理工具,应该有一个树形结构 ...
- ZooKeeper:win7上安装单机及伪分布式安装
zookeeper是一个为分布式应用所设计的分布式的.开源的调度服务,它主要用来解决分布式应用中经常遇到的一些数据管理问题,简化分布式应用,协调及其管理的难度,提高性能的分布式服务. 本章的目的:如何 ...
- ZooKeeper实战(一):ZooKeeper原理,详细安装步骤,基本命令,节点间通信原理
回顾Redis 用redis实现分布式锁比较复杂,使用zookeeper会比较简单. 一.ZooKeeper介绍 官网 https://zookeeper.apache.org/ 概览文档 https ...
- zookeeper在windows上安装和配置
最近公司开发使用阿里的dubbo框架,要用到zookeeper,之前不知道zookeeper是什么,所以就在网上查了一下,百度百科的解释如下:ZooKeeper是一个分布式的,开放源码的分布式应用程序 ...
最新文章
- Java源码下载和阅读(JDK1.8/Java 11)
- Unity3D Adam Demo的学习与研究
- Swift中的全局常量文件
- AjaxPro2在Asp.net中的基本用法
- 【Flutter】Animation 动画 ( Flutter 动画类型 | Flutter 动画的核心类 )
- windows下安装nodejs、webpack及打包步骤
- [_CN] Eclipse精要与高级开发技术 note
- PAT (Basic Level) 1091 N-自守数(模拟+stl)
- Java Hashtable rehash()方法与示例
- 洛谷——P1495 曹冲养猪
- java none怎么用tomcat_在docker中部署tomcat并且部署java应用程序的步骤详解
- 怎么将tflite部署在安卓上_手把手教程:如何从零开始训练 TF 模型并在安卓系统上运行...
- 转--global.asax文件(站点计数器)
- 记一次wireshark抓取QQ好友IP和火绒抓取微信IP
- 小猪的Python学习之旅 —— 22.安静!吵到我用TNT了
- 计算机网络在办公自动化的应用,浅析计算机网络在办公自动化中的作用
- Java项目集成海康威视门禁,NVR
- 程序员界之行业求职黑名单!实用!
- git init报错Reinitialized existing Git repository
- 22条创业军规(读书)
热门文章
- 使用SQL进行递归查询
- ExtJs 实现动态列,动态多表头 在这里添加日志标题
- Linux一键部署duckchat,宝塔面板部署DuckChat(翻译:鸭信)- 一个简约好用的网络聊天平台...
- hibernate_和ORM的关系
- linux nameserver导致的故障
- Yii重写ActiveForm
- Sublime Text 3下Emmet使用技巧
- c语言1 2 3 10000,在网上看到一个求2的10000次方的方法,有个地方看不懂,求大佬...
- keras 多层lstm_《Keras 实现 LSTM》笔记
- springboot 禁用 cookie / chrome 禁用 cookie