ubuntu16.04系统中怎么安装zookeeper
发表于:2024-10-19 作者:千家信息网编辑
千家信息网最后更新 2024年10月19日,这篇文章给大家介绍ubuntu16.04系统中怎么安装zookeeper,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。zookeeper需要java,见https://my.os
千家信息网最后更新 2024年10月19日ubuntu16.04系统中怎么安装zookeeper
这篇文章给大家介绍ubuntu16.04系统中怎么安装zookeeper,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。
zookeeper需要java,见https://my.oschina.net/u/914655/blog/3102583
cd /appwget http://mirror-hk.koddos.net/apache/zookeeper/zookeeper-3.5.5/apache-zookeeper-3.5.5-bin.tar.gztar zxvf apache-zookeeper-3.5.5-bin.tar.gzmv apache-zookeeper-3.5.5-bin zookeepercp conf/zoo.sample.cfg conf/zoo.cfgvim conf/zoo.cfgmkdir datavim data/myidecho 1 > data/myid # 这个确保和下面的server.x后面的数字对应vim /etc/hosts# /etc/hosts# 自定义Hosts10.13.6.1 kafka-node110.13.6.2 kafka-node210.13.6.3 kafka-node3
zoo.cfg
# The number of milliseconds of each ticktickTime=2000# The number of ticks that the initial# synchronization phase can takeinitLimit=10# The number of ticks that can pass between# sending a request and getting an acknowledgementsyncLimit=5# the directory where the snapshot is stored.# do not use /tmp for storage, /tmp here is just# example sakes.dataDir=/app/zookeeper/data# the port at which the clients will connectclientPort=2181# the maximum number of client connections.# increase this if you need to handle more clientsmaxClientCnxns=60# 节点配置信息server.1=kafka-node1:2888:3888server.2=kafka-node2:2888:3888server.3=kafka-node3:2888:3888#server.A=B:C:D# 其中 A 是一个数字,表示这个是第几号服务器;# B 是这个服务器的 ip 地址;# C 表示的是这个服务器与集群中的 Leader 服务器交换信息的端口;# D 表示的是如果集群中的 Leader 服务器故障,需要一个端口来重新进行选举,选出一个新的 Leader,而这个端口就是#用来执行选举时服务器相互通信的端口。## 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
关于ubuntu16.04系统中怎么安装zookeeper就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。
服务器
服务
端口
系统
信息
内容
数字
更多
集群
帮助
选举
不错
兴趣
地址
小伙
小伙伴
就是
故障
文章
知识
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
gatner 数据库
女的学计算机网络技术怎么样
深圳嵌入式软件开发需要多少钱
天荒坪民宿软件开发
论坛数据库设计思路
软件开发涉密隐患
全国网络安全 国之重器
json代替数据库
昆明宴宇科技公司服务器
召开网络安全大会是什么意思
戴尔服务器没硬盘能不能开机
金蝶产品入库单数据库
安顺市弹性云服务器好多钱
wow选服务器
数据库添加测试表
版纳互联网科技找哪家
mysql数据库大小查询
徐州网络安全系统
我的世界第九大陆服务器强化武魂
守护电网网络安全
徐汇区企业网络技术咨询好选择
芜湖子木网络技术有限公司
关系型数据库 实体
群晖nas多媒体服务器怎么连接
中百集团软件开发怎么样
远程数据库能查出来吗
买服务器搭建提子犯法吗
天龙八部手游如何做服务器
化学中常用的外文全文数据库
光传输网络技术实训心得