zookeeper和kafka的安装

一、安装zookeeper

yum install -y java  ##安装jdk1.6版本以上

wget http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.12/zookeeper-3.4.12.tar.gz
tar xf zookeeper-3.4.12.tar.gz 
cd zookeeper-3.4.12/conf
cp zoo_sample.cfg zoo.cfg
vim zoo.cfg
    tickTime=2000
    initLimit=10
    syncLimit=5
    dataDir=/tmp/zookeeper
    clientPort=2181

##启动
bin/zkServer.sh start 

  

 二、安装kafka

pass

  

猜你喜欢

转载自www.cnblogs.com/zhangb8042/p/9157603.html
今日推荐