#zookeeper安装
cd /conf
cp zoo_sample.cfg zoo.cfg
dataDir=/data/env/zookeeper/data
dataLogDir=/data/env/zookeeperlog
./zkServer.sh start
./zkServer.sh status
进入zookeeper 内部
./zkCli.sh
quit退出
vim /etc/profile
export zookeeper_home=/data/env/zookeeper
export PATH=$PATH:$zookeeper_home/bin
source /etc/profile
sh $zookeeper_home/bin/zkServer.sh start
#kafka安装
tar -xzvf
cd config
vim server.properties
log.dirs=/data/env/kafkalog
listeners=PLAINTEXT://192.168.15.6:9092
./bin/kafka-server-start.sh -daemon ./config/server.properties
export KAFKA_HOME=/data/env/kafka
export PATH=$PATH:$KAFKA_HOME/bin
jps查看状态
sh $KAFKA_HOME/bin/kafka-server-start.sh -daemon $KAFKA_HOME/config/server.properties
Kafka 可视化工具Kafka Tool
http://www.kafkatool.com/download.html
#参考链接
https://www.cnblogs.com/breezey/p/10850855.html