IT源码网

Linux安装Zookeeper

shasha 2021年02月13日 程序员 367 0

Linux安装Zookeeper
https://juejin.im/post/5c24fd0b6fb9a049d05dcc82

Linux上安装Zookeeper以及一些注意事项
https://blog.csdn.net/u012702547/article/details/77569325

切记:要下载 -bin 结尾的安装包

Linux下redis安装和部署 https://www.jianshu.com/p/bc84b2b71c1c

 
# 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=/usr/local/apache-zookeeper-3.5.5/data 
dataLogDir=/usr/local/apache-zookeeper-3.5.5/logs 
# the port at which the clients will connect 
clientPort=2181 
server.1=172.16.28.242:2888:3888 
# 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 
 
评论关闭
IT源码网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!

Linux基础 ppt pptx