1. get into /opt
cd /opt
2. decompression Kafka Installation package
tar -zxf kafka_2.11-2.0.0.tgz
3. Move decompressed kafaka reach soft/kafka211
mv kafka_2.11-2.0.0.tgz soft/kafka211
4. get into soft/kafka211/config/
cd soft/kafka211/config/
5. modify server.properties
vim server.properties
5.1 to listeners,log.dirs and zookeeper.connect Assign corresponding value
listeners=PLAINTEXT:// Host address :9092 log.dirs=/opt/soft/kafka211/log
zookeeper.connect= Host address :2181
6. modify /etc/profile
vim /etc/profile
6.1. add to kafka Operating environment
#KAFKA ENV export KAFKA_HOME=/opt/soft/kafka211 export
PATH=$PATH:$KAFKA_HOME/bin
7. implement /etc/profile
source /etc/profile
8. Execute the following command , If there is no error message , Then install kafka success !
kafka-server-start.sh /opt/soft/kafka211/config/server.properties

Technology
©2019-2020 Toolsou All rights reserved,
C++ of string of compare usage MySQL Basics Commonly used sentence ( Add / delete / modify query )C Language of a Gobang game implementation QT5.9 Use of learning notes QSqlQuery Method of Qt Getting Started tutorial 【 Basic controls 】QCalendarWidget calendar control java Polymorphic array of web Front end signature plug-in _signature_pad Plug in implements electronic signature function centos7 install RabbitMqspringboot use redis Experiment 4 Automated test tools - software test