Linux安装Zookeeper

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

posted @ 2019-08-30 15:07  DaleyZou  阅读(139)  评论(0编辑  收藏  举报