Kafka Eagle CentOS6安装

1、安装jdk

这里安装的是

 安装完记得配置环境变量并使其生效

export JAVA_HOME=/usr/java/jdk1.8.0_131
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib:$CLASSPATH
export JAVA_PATH=${JAVA_HOME}/bin:${JRE_HOME}/bin
export PATH=$PATH:${JAVA_PATH}
source /etc/profile

2、下载最新的安装包

wget -nc https://github.com/smartloli/kafka-eagle-bin/archive/v2.0.2.tar.gz

3、解压

tar -zxvf v2.0.2.tar.gz
cd kafka-eagle-bin-2.0.2/
tar -xzvf kafka-eagle-web-2.0.2-bin.tar.gz
mkdir -p /data/software/kafka-eagle
mv kafka-eagle-bin-2.0.2/kafka-eagle-web-2.0.2/* kafka-eagle

4、配置环境变量

export KE_HOME=/data/software/kafka-eagle
export PATH=$PATH:$KE_HOME/bin

 记得执行 . /etc/profile 使配置生效

5、修改配置文件

修改conf目录下的system-config.properties文件

######################################
# multi zookeeper & kafka cluster list
######################################
##我这里只安装了一个zk集群,多个可以按照参考资料中官网设置
kafka.eagle.zk.cluster.alias=cluster1
cluster1.zk.list=192.168.255.129:2181,192.168.255.130:2181,192.168.255.131:2181

######################################
# zookeeper enable acl
##需要zk acl可以开启修改此处的配置
######################################
cluster1.zk.acl.enable=false
cluster1.zk.acl.schema=digest
cluster1.zk.acl.username=test
cluster1.zk.acl.password=test123

######################################
# broker size online list
######################################
cluster1.kafka.eagle.broker.size=20

######################################
# zk client thread limit
######################################
kafka.zk.limit.size=25

######################################
# kafka eagle webui port
######################################
kafka.eagle.webui.port=8048

######################################
# kafka jmx acl and ssl authenticate
######################################
cluster1.kafka.eagle.jmx.acl=false
cluster1.kafka.eagle.jmx.user=keadmin
cluster1.kafka.eagle.jmx.password=keadmin123
cluster1.kafka.eagle.jmx.ssl=false
cluster1.kafka.eagle.jmx.truststore.location=/Users/dengjie/workspace/ssl/certificates/kafka.truststore
cluster1.kafka.eagle.jmx.truststore.password=ke123456

######################################
# kafka offset storage
######################################
cluster1.kafka.eagle.offset.storage=kafka
cluster2.kafka.eagle.offset.storage=zk

######################################
# kafka metrics, 15 days by default
######################################
kafka.eagle.metrics.charts=true
kafka.eagle.metrics.retain=15

######################################
# kafka sql topic records max
######################################
kafka.eagle.sql.topic.records.max=5000

######################################
# delete kafka topic token
######################################
kafka.eagle.topic.token=keadmin

######################################
# kafka sasl authenticate
#权限安全相关配置,这里是虚拟机安装的测试环境,所以没有进行配置
######################################
cluster1.kafka.eagle.sasl.enable=false
cluster1.kafka.eagle.sasl.protocol=SASL_PLAINTEXT
cluster1.kafka.eagle.sasl.mechanism=SCRAM-SHA-256
cluster1.kafka.eagle.sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule required username="kafka" password="kafka-eagle";
cluster1.kafka.eagle.sasl.client.id=
cluster1.kafka.eagle.blacklist.topics=
cluster1.kafka.eagle.sasl.cgroup.enable=false
cluster1.kafka.eagle.sasl.cgroup.topics=
cluster2.kafka.eagle.sasl.enable=false
cluster2.kafka.eagle.sasl.protocol=SASL_PLAINTEXT
cluster2.kafka.eagle.sasl.mechanism=PLAIN
cluster2.kafka.eagle.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="kafka" password="kafka-eagle";
cluster2.kafka.eagle.sasl.client.id=
cluster2.kafka.eagle.blacklist.topics=
cluster2.kafka.eagle.sasl.cgroup.enable=false
cluster2.kafka.eagle.sasl.cgroup.topics=

######################################
# kafka ssl authenticate
######################################
cluster3.kafka.eagle.ssl.enable=false
cluster3.kafka.eagle.ssl.protocol=SSL
cluster3.kafka.eagle.ssl.truststore.location=
cluster3.kafka.eagle.ssl.truststore.password=
cluster3.kafka.eagle.ssl.keystore.location=
cluster3.kafka.eagle.ssl.keystore.password=
cluster3.kafka.eagle.ssl.key.password=
cluster3.kafka.eagle.blacklist.topics=
cluster3.kafka.eagle.ssl.cgroup.enable=false
cluster3.kafka.eagle.ssl.cgroup.topics=

######################################
# kafka sqlite jdbc driver address
#默认使用的是sqlite数据库,我这里切换了MySQL数据库
######################################
#kafka.eagle.driver=org.sqlite.JDBC
#kafka.eagle.url=jdbc:sqlite:/hadoop/kafka-eagle/db/ke.db
#kafka.eagle.username=root
#kafka.eagle.password=www.kafka-eagle.org

######################################
# kafka mysql jdbc driver address
#启用MySQL数据库,在链接配置正确的情况下,程序运行后自动建库建表
######################################
kafka.eagle.driver=com.mysql.jdbc.Driver
kafka.eagle.url=jdbc:mysql://192.168.255.129:3306/ke?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
kafka.eagle.username=root
kafka.eagle.password=123456
View Code

6、启动

./bin/ke.sh start

打印如下内容:

 inflated: WEB-INF/lib/spring-beans-5.2.0.RELEASE.jar
 inflated: WEB-INF/lib/aspectjrt-1.8.10.jar
 inflated: WEB-INF/lib/shiro-config-ogdl-1.6.0.jar
 inflated: WEB-INF/lib/j2objc-annotations-1.3.jar
 inflated: WEB-INF/lib/kafka-clients-2.0.0.jar
 inflated: WEB-INF/lib/commons-beanutils-1.9.4.jar
 inflated: WEB-INF/lib/spring-context-support-5.2.0.RELEASE.jar
 inflated: WEB-INF/lib/commons-compiler-3.0.11.jar
 inflated: WEB-INF/lib/mchange-commons-java-0.2.15.jar
 inflated: WEB-INF/lib/spring-jdbc-5.2.0.RELEASE.jar
 inflated: WEB-INF/lib/shiro-config-core-1.6.0.jar
 inflated: WEB-INF/lib/avatica-metrics-1.15.0.jar
 inflated: WEB-INF/lib/commons-lang-2.6.jar
 inflated: WEB-INF/lib/kafka-eagle-plugin-2.0.2.jar
 inflated: WEB-INF/lib/sqlite-jdbc-3.21.0.1.jar
 inflated: WEB-INF/lib/HikariCP-java7-2.4.13.jar
 inflated: WEB-INF/lib/lz4-java-1.4.1.jar
 inflated: WEB-INF/lib/fastjson-1.2.70.jar
 inflated: WEB-INF/lib/jsr305-3.0.2.jar
 inflated: WEB-INF/lib/commons-pool2-2.6.1.jar
 inflated: WEB-INF/lib/guava-28.1-jre.jar
 inflated: WEB-INF/lib/jackson-annotations-2.10.0.jar
 inflated: WEB-INF/lib/jackson-databind-2.10.0.jar
 inflated: WEB-INF/lib/commons-lang3-3.5.jar
 inflated: WEB-INF/web.xml
 inflated: WEB-INF/views/metrics/kafka.jsp
 inflated: WEB-INF/views/metrics/brokers.jsp
 inflated: WEB-INF/views/metrics/zk.jsp
 inflated: WEB-INF/views/cluster/zkcli.jsp
 inflated: WEB-INF/views/cluster/cluster.jsp
 inflated: WEB-INF/views/cluster/multicluster.jsp
 inflated: WEB-INF/views/cluster/worknodes.jsp
 inflated: WEB-INF/views/bscreen/bscreen.jsp
 inflated: WEB-INF/views/topic/add_success.jsp
 inflated: WEB-INF/views/topic/manager.jsp
 inflated: WEB-INF/views/topic/mock.jsp
 inflated: WEB-INF/views/topic/ksql.jsp
 inflated: WEB-INF/views/topic/add_failed.jsp
 inflated: WEB-INF/views/topic/hub.jsp
 inflated: WEB-INF/views/topic/topic_meta.jsp
 inflated: WEB-INF/views/topic/create.jsp
 inflated: WEB-INF/views/topic/list.jsp
 inflated: WEB-INF/views/system/resource.jsp
 inflated: WEB-INF/views/system/user.jsp
 inflated: WEB-INF/views/system/role.jsp
 inflated: WEB-INF/views/consumers/offset_realtime.jsp
 inflated: WEB-INF/views/consumers/offset_consumers.jsp
 inflated: WEB-INF/views/consumers/consumers.jsp
 inflated: WEB-INF/views/public/plus/tcss.jsp
 inflated: WEB-INF/views/public/plus/script.jsp
 inflated: WEB-INF/views/public/plus/footer.jsp
 inflated: WEB-INF/views/public/plus/css.jsp
 inflated: WEB-INF/views/public/plus/navbar.jsp
 inflated: WEB-INF/views/public/plus/navtop.jsp
 inflated: WEB-INF/views/public/plus/tscript.jsp
 inflated: WEB-INF/views/alarm/history.jsp
 inflated: WEB-INF/views/alarm/config_success.jsp
 inflated: WEB-INF/views/alarm/add_success.jsp
 inflated: WEB-INF/views/alarm/create_success.jsp
 inflated: WEB-INF/views/alarm/config_failed.jsp
 inflated: WEB-INF/views/alarm/add_failed.jsp
 inflated: WEB-INF/views/alarm/add.jsp
 inflated: WEB-INF/views/alarm/create_failed.jsp
 inflated: WEB-INF/views/alarm/modify.jsp
 inflated: WEB-INF/views/alarm/create.jsp
 inflated: WEB-INF/views/alarm/list.jsp
 inflated: WEB-INF/views/alarm/config.jsp
 inflated: WEB-INF/views/account/signin.jsp
 inflated: WEB-INF/views/main/index.jsp
 inflated: WEB-INF/views/connect/monitor.jsp
 inflated: WEB-INF/views/connect/config.jsp
 inflated: WEB-INF/views/error/405.jsp
 inflated: WEB-INF/views/error/404.jsp
 inflated: WEB-INF/views/error/403.jsp
 inflated: WEB-INF/views/error/503.jsp
 inflated: WEB-INF/views/error/500.jsp
 inflated: media/css/plugins/datatimepicker/daterangepicker.css
 inflated: media/css/plugins/codemirror/show-hint.css
 inflated: media/css/plugins/codemirror/codemirror.css
 inflated: media/css/plugins/treeview/bootstrap-treeview.min.css
 inflated: media/css/plugins/treeview/ke-btreeview.min.css
 inflated: media/css/plugins/checkbox/awesome-bootstrap-checkbox.css
 inflated: media/css/plugins/terminal/jquery.terminal.min.css
 inflated: media/css/plugins/json/jquery.json-viewer.css
 inflated: media/css/plugins/select2/select2.min.css
 inflated: media/css/plugins/datatable/dataTables.bootstrap4.min.css
 inflated: media/css/bscreen/css/bscreen.css
 inflated: media/css/bscreen/images/line.png
 inflated: media/css/bscreen/images/bg.jpg
 inflated: media/css/bscreen/images/head_bg.png
 inflated: media/css/bscreen/font/DS-DIGIT.TTF
 inflated: media/css/img/glyphicons-halflings.png
 inflated: media/css/public/images/ui-icons_888888_256x240.png
 inflated: media/css/public/images/ui-bg_glass_75_ffffff_1x400.png
 inflated: media/css/public/images/ui-bg_glass_75_e6e6e6_1x400.png
 inflated: media/css/public/images/ui-icons_222222_256x240.png
 inflated: media/css/public/images/ui-bg_highlight-soft_75_cccccc_1x100.png
 inflated: media/css/public/images/ui-icons_454545_256x240.png
 inflated: media/css/public/account/main.css
 inflated: media/css/public/account/hfd.ttf
 inflated: media/css/public/account/hfc.ttf
 inflated: media/css/public/plus/custom-color.css
 inflated: media/css/public/plus/common.css
 inflated: media/css/public/plus/ke.min.css
 inflated: media/css/fonts/glyphicons-halflings-regular.woff
 inflated: media/css/fonts/glyphicons-halflings-regular.woff2
 inflated: media/css/fonts/glyphicons-halflings-regular.ttf
 inflated: media/css/fonts/fontawesome-webfont.ttf
 inflated: media/css/fonts/fontawesome-webfont.woff
 inflated: media/js/plugins/datatimepicker/daterangepicker.js
 inflated: media/js/plugins/datatimepicker/moment.min.js
 inflated: media/js/plugins/codemirror/codemirror.js
 inflated: media/js/plugins/codemirror/show-hint.js
 inflated: media/js/plugins/codemirror/sql.js
 inflated: media/js/plugins/codemirror/sql-hint.js
 inflated: media/js/plugins/echart/macarons.js
 inflated: media/js/plugins/echart/echarts.min.js
 inflated: media/js/plugins/treeview/bootstrap-treeview.min.js
 inflated: media/js/plugins/datatables/dataTables.bootstrap.min.js
 inflated: media/js/plugins/datatables/jquery.dataTables.min.js
 inflated: media/js/plugins/datatables/plus/dataTables.bootstrap4.min.js
 inflated: media/js/plugins/datatables/plus/jquery.dataTables.min.js
 inflated: media/js/plugins/terminal/jquery.terminal.min.js
 inflated: media/js/plugins/json/jquery.json-viewer.js
 inflated: media/js/plugins/d3/d3.layout.js
 inflated: media/js/plugins/d3/d3.js
 inflated: media/js/plugins/d3/d3.v3.min.js
 inflated: media/js/plugins/d3/liquidFillGauge.js
 inflated: media/js/plugins/tokenfield/bootstrap-tokenfield.js
 inflated: media/js/plugins/select2/select2.min.js
 inflated: media/js/plugins/magicsuggest/magicsuggest.js
 inflated: media/js/bscreen/js/index.html
 inflated: media/js/bscreen/js/bscreen.js
 inflated: media/js/bscreen/js/echarts.min.js
 inflated: media/js/bscreen/js/jquery.js
 inflated: media/js/bscreen/picture/lbx.png
 inflated: media/js/bscreen/picture/jt.png
 inflated: media/js/bscreen/picture/map.png
 inflated: media/js/public/plus/all.min.js
 inflated: media/js/public/plus/navbar.js
 inflated: media/js/public/plus/bootstrap.bundle.min.js
 inflated: media/js/public/plus/jquery-3.4.1.min.js
 inflated: media/js/public/plus/fontawesome.min.js
 inflated: media/js/main/metrics/zk.js
 inflated: media/js/main/metrics/brokers.js
 inflated: media/js/main/metrics/kafka.js
 inflated: media/js/main/cluster/worknodes.js
 inflated: media/js/main/cluster/cluster.js
 inflated: media/js/main/cluster/zkcli.js
 inflated: media/js/main/cluster/multicluster.js
 inflated: media/js/main/index.js
 inflated: media/js/main/topic/hub.js
 inflated: media/js/main/topic/export.js
 inflated: media/js/main/topic/create.js
 inflated: media/js/main/topic/list.js
 inflated: media/js/main/topic/ksql.history.js
 inflated: media/js/main/topic/mock.js
 inflated: media/js/main/topic/manager.js
 inflated: media/js/main/topic/add.result.js
 inflated: media/js/main/topic/topic.meta.js
 inflated: media/js/main/topic/ksql.js
 inflated: media/js/main/topic/ksql.distributed.js
 inflated: media/js/main/system/role.js
 inflated: media/js/main/system/resource.js
 inflated: media/js/main/system/user.js
 inflated: media/js/main/alarm/create.js
 inflated: media/js/main/alarm/config.js
 inflated: media/js/main/alarm/add.js
 inflated: media/js/main/alarm/list.js
 inflated: media/js/main/alarm/history.js
 inflated: media/js/main/alarm/modify.js
 inflated: media/js/main/consumer/offset.consumer.js
 inflated: media/js/main/consumer/consumers.js
 inflated: media/js/main/consumer/offset.realtime.js
 inflated: media/js/main/account/signin.js
 inflated: media/js/main/connect/config.js
 inflated: media/js/main/connect/monitor.js
 inflated: media/js/main/error/e503.js
 inflated: media/js/main/error/e403.js
 inflated: media/js/main/error/e404.js
 inflated: media/js/main/error/e500.js
 inflated: media/js/main/error/e405.js
 inflated: media/img/favicon.ico
 inflated: media/img/ke_login.png
  created: META-INF/maven/
  created: META-INF/maven/org.smartloli.kafka.eagle/
  created: META-INF/maven/org.smartloli.kafka.eagle/kafka-eagle-web/
 inflated: META-INF/maven/org.smartloli.kafka.eagle/kafka-eagle-web/pom.xml
 inflated: META-INF/maven/org.smartloli.kafka.eagle/kafka-eagle-web/pom.properties
[2020-11-18 03:12:37] INFO: Port Progress: [                                                  ] |[2020-11-18 03:12:37] INFO: Port Progress: [#                                                 ] |[2020-11-18 03:12:37] INFO: Port Progress: [#                                                 ] |[2020-11-18 03:12:37] INFO: Port Progress: [##                                                ] |[2020-11-18 03:12:37] INFO: Port Progress: [##                                                ] |[2020-11-18 03:12:37] INFO: Port Progress: [###                                               ] |[2020-11-18 03:12:37] INFO: Port Progress: [###                                               ] |[2020-11-18 03:12:37] INFO: Port Progress: [####                                              ] |[2020-11-18 03:12:37] INFO: Port Progress: [####                                              ] |[2020-11-18 03:12:37] INFO: Port Progress: [#####                                             ] |[2020-11-18 03:12:37] INFO: Port Progress: [#####                                             ] |[2020-11-18 03:12:37] INFO: Port Progress: [######                                            ] |[2020-11-18 03:12:37] INFO: Port Progress: [######                                            ] |[2020-11-18 03:12:37] INFO: Port Progress: [#######                                           ] |[2020-11-18 03:12:37] INFO: Port Progress: [#######                                           ] |[2020-11-18 03:12:37] INFO: Port Progress: [########                                          ] |[2020-11-18 03:12:37] INFO: Port Progress: [########                                          ] |[2020-11-18 03:12:37] INFO: Port Progress: [#########                                         ] |[2020-11-18 03:12:37] INFO: Port Progress: [#########                                         ] |[2020-11-18 03:12:37] INFO: Port Progress: [##########                                        ] |[2020-11-18 03:12:37] INFO: Port Progress: [##########                                        ] |[2020-11-18 03:12:37] INFO: Port Progress: [###########                                       ] |[2020-11-18 03:12:37] INFO: Port Progress: [###########                                       ] |[2020-11-18 03:12:37] INFO: Port Progress: [############                                      ] |[2020-11-18 03:12:37] INFO: Port Progress: [############                                      ] |[2020-11-18 03:12:37] INFO: Port Progress: [#############                                     ] |[2020-11-18 03:12:37] INFO: Port Progress: [#############                                     ] |[2020-11-18 03:12:37] INFO: Port Progress: [##############                                    ] |[2020-11-18 03:12:37] INFO: Port Progress: [##############                                    ] |[2020-11-18 03:12:37] INFO: Port Progress: [###############                                   ] |[2020-11-18 03:12:37] INFO: Port Progress: [###############                                   ] |[2020-11-18 03:12:37] INFO: Port Progress: [################                                  ] |[2020-11-18 03:12:37] INFO: Port Progress: [################                                  ] |[2020-11-18 03:12:37] INFO: Port Progress: [#################                                 ] |[2020-11-18 03:12:37] INFO: Port Progress: [#################                                 ] |[2020-11-18 03:12:37] INFO: Port Progress: [##################                                ] |[2020-11-18 03:12:37] INFO: Port Progress: [##################                                ] |[2020-11-18 03:12:37] INFO: Port Progress: [###################                               ] |[2020-11-18 03:12:37] INFO: Port Progress: [###################                               ] |[2020-11-18 03:12:37] INFO: Port Progress: [####################                              ] |[2020-11-18 03:12:37] INFO: Port Progress: [####################                              ] |[2020-11-18 03:12:37] INFO: Port Progress: [#####################                             ] |[2020-11-18 03:12:37] INFO: Port Progress: [#####################                             ] |[2020-11-18 03:12:37] INFO: Port Progress: [######################                            ] |[2020-11-18 03:12:37] INFO: Port Progress: [######################                            ] |[2020-11-18 03:12:37] INFO: Port Progress: [#######################                           ] |[2020-11-18 03:12:37] INFO: Port Progress: [#######################                           ] |[2020-11-18 03:12:37] INFO: Port Progress: [########################                          ] |[2020-11-18 03:12:37] INFO: Port Progress: [########################                          ] |[2020-11-18 03:12:37] INFO: Port Progress: [#########################                         ] |[2020-11-18 03:12:37] INFO: Port Progress: [#########################                         ] |[2020-11-18 03:12:37] INFO: Port Progress: [##########################                        ] |[2020-11-18 03:12:37] INFO: Port Progress: [##########################                        ] |[2020-11-18 03:12:37] INFO: Port Progress: [###########################                       ] |[2020-11-18 03:12:37] INFO: Port Progress: [###########################                       ] |[2020-11-18 03:12:37] INFO: Port Progress: [############################                      ] |[2020-11-18 03:12:37] INFO: Port Progress: [############################                      ] |[2020-11-18 03:12:37] INFO: Port Progress: [#############################                     ] |[2020-11-18 03:12:37] INFO: Port Progress: [#############################                     ] |[2020-11-18 03:12:37] INFO: Port Progress: [##############################                    ] |[2020-11-18 03:12:37] INFO: Port Progress: [##############################                    ] |[2020-11-18 03:12:37] INFO: Port Progress: [###############################                   ] |[2020-11-18 03:12:37] INFO: Port Progress: [###############################                   ] |[2020-11-18 03:12:37] INFO: Port Progress: [################################                  ] |[2020-11-18 03:12:37] INFO: Port Progress: [################################                  ] |[2020-11-18 03:12:37] INFO: Port Progress: [#################################                 ] |[2020-11-18 03:12:37] INFO: Port Progress: [#################################                 ] |[2020-11-18 03:12:37] INFO: Port Progress: [##################################                ] |[2020-11-18 03:12:37] INFO: Port Progress: [##################################                ] |[2020-11-18 03:12:37] INFO: Port Progress: [###################################               ] |[2020-11-18 03:12:37] INFO: Port Progress: [###################################               ] |[2020-11-18 03:12:37] INFO: Port Progress: [####################################              ] |[2020-11-18 03:12:37] INFO: Port Progress: [####################################              ] |[2020-11-18 03:12:37] INFO: Port Progress: [#####################################             ] |[2020-11-18 03:12:37] INFO: Port Progress: [#####################################             ] |[2020-11-18 03:12:37] INFO: Port Progress: [######################################            ] |[2020-11-18 03:12:37] INFO: Port Progress: [######################################            ] |[2020-11-18 03:12:37] INFO: Port Progress: [#######################################           ] |[2020-11-18 03:12:37] INFO: Port Progress: [#######################################           ] |[2020-11-18 03:12:37] INFO: Port Progress: [########################################          ] |[2020-11-18 03:12:37] INFO: Port Progress: [########################################          ] |[2020-11-18 03:12:37] INFO: Port Progress: [#########################################         ] |[2020-11-18 03:12:37] INFO: Port Progress: [#########################################         ] |[2020-11-18 03:12:37] INFO: Port Progress: [##########################################        ] |[2020-11-18 03:12:37] INFO: Port Progress: [##########################################        ] |[2020-11-18 03:12:37] INFO: Port Progress: [###########################################       ] |[2020-11-18 03:12:37] INFO: Port Progress: [###########################################       ] |[2020-11-18 03:12:37] INFO: Port Progress: [############################################      ] |[2020-11-18 03:12:37] INFO: Port Progress: [############################################      ] |[2020-11-18 03:12:37] INFO: Port Progress: [#############################################     ] |[2020-11-18 03:12:37] INFO: Port Progress: [#############################################     ] |[2020-11-18 03:12:37] INFO: Port Progress: [##############################################    ] |[2020-11-18 03:12:37] INFO: Port Progress: [##############################################    ] |[2020-11-18 03:12:37] INFO: Port Progress: [###############################################   ] |[2020-11-18 03:12:37] INFO: Port Progress: [###############################################   ] |[2020-11-18 03:12:37] INFO: Port Progress: [################################################  ] |[2020-11-18 03:12:37] INFO: Port Progress: [################################################  ] |[2020-11-18 03:12:37] INFO: Port Progress: [################################################# ] |[2020-11-18 03:12:37] INFO: Port Progress: [################################################# ] |[2020-11-18 03:12:37] INFO: Port Progress: [##################################################] | 100%
[2020-11-18 03:12:41] INFO: Config Progress: [                                                  ][2020-11-18 03:12:41] INFO: Config Progress: [#                                                 ][2020-11-18 03:12:41] INFO: Config Progress: [#                                                 ][2020-11-18 03:12:41] INFO: Config Progress: [##                                                ][2020-11-18 03:12:41] INFO: Config Progress: [##                                                ][2020-11-18 03:12:41] INFO: Config Progress: [###                                               ][2020-11-18 03:12:41] INFO: Config Progress: [###                                               ][2020-11-18 03:12:41] INFO: Config Progress: [####                                              ][2020-11-18 03:12:41] INFO: Config Progress: [####                                              ][2020-11-18 03:12:41] INFO: Config Progress: [#####                                             ][2020-11-18 03:12:41] INFO: Config Progress: [#####                                             ][2020-11-18 03:12:41] INFO: Config Progress: [######                                            ][2020-11-18 03:12:41] INFO: Config Progress: [######                                            ][2020-11-18 03:12:41] INFO: Config Progress: [#######                                           ][2020-11-18 03:12:41] INFO: Config Progress: [#######                                           ][2020-11-18 03:12:41] INFO: Config Progress: [########                                          ][2020-11-18 03:12:41] INFO: Config Progress: [########                                          ][2020-11-18 03:12:41] INFO: Config Progress: [#########                                         ][2020-11-18 03:12:41] INFO: Config Progress: [#########                                         ][2020-11-18 03:12:41] INFO: Config Progress: [##########                                        ][2020-11-18 03:12:41] INFO: Config Progress: [##########                                        ][2020-11-18 03:12:41] INFO: Config Progress: [###########                                       ][2020-11-18 03:12:41] INFO: Config Progress: [###########                                       ][2020-11-18 03:12:41] INFO: Config Progress: [############                                      ][2020-11-18 03:12:41] INFO: Config Progress: [############                                      ][2020-11-18 03:12:41] INFO: Config Progress: [#############                                     ][2020-11-18 03:12:41] INFO: Config Progress: [#############                                     ][2020-11-18 03:12:41] INFO: Config Progress: [##############                                    ][2020-11-18 03:12:41] INFO: Config Progress: [##############                                    ][2020-11-18 03:12:41] INFO: Config Progress: [###############                                   ][2020-11-18 03:12:41] INFO: Config Progress: [###############                                   ][2020-11-18 03:12:41] INFO: Config Progress: [################                                  ][2020-11-18 03:12:41] INFO: Config Progress: [################                                  ][2020-11-18 03:12:41] INFO: Config Progress: [#################                                 ][2020-11-18 03:12:41] INFO: Config Progress: [#################                                 ][2020-11-18 03:12:41] INFO: Config Progress: [##################                                ][2020-11-18 03:12:41] INFO: Config Progress: [##################                                ][2020-11-18 03:12:41] INFO: Config Progress: [###################                               ][2020-11-18 03:12:41] INFO: Config Progress: [###################                               ][2020-11-18 03:12:41] INFO: Config Progress: [####################                              ][2020-11-18 03:12:41] INFO: Config Progress: [####################                              ][2020-11-18 03:12:41] INFO: Config Progress: [#####################                             ][2020-11-18 03:12:41] INFO: Config Progress: [#####################                             ][2020-11-18 03:12:41] INFO: Config Progress: [######################                            ][2020-11-18 03:12:41] INFO: Config Progress: [######################                            ][2020-11-18 03:12:41] INFO: Config Progress: [#######################                           ][2020-11-18 03:12:41] INFO: Config Progress: [#######################                           ][2020-11-18 03:12:41] INFO: Config Progress: [########################                          ][2020-11-18 03:12:41] INFO: Config Progress: [########################                          ][2020-11-18 03:12:41] INFO: Config Progress: [#########################                         ][2020-11-18 03:12:41] INFO: Config Progress: [#########################                         ][2020-11-18 03:12:41] INFO: Config Progress: [##########################                        ][2020-11-18 03:12:41] INFO: Config Progress: [##########################                        ][2020-11-18 03:12:41] INFO: Config Progress: [###########################                       ][2020-11-18 03:12:41] INFO: Config Progress: [###########################                       ][2020-11-18 03:12:41] INFO: Config Progress: [############################                      ][2020-11-18 03:12:41] INFO: Config Progress: [############################                      ][2020-11-18 03:12:41] INFO: Config Progress: [#############################                     ][2020-11-18 03:12:41] INFO: Config Progress: [#############################                     ][2020-11-18 03:12:41] INFO: Config Progress: [##############################                    ][2020-11-18 03:12:41] INFO: Config Progress: [##############################                    ][2020-11-18 03:12:41] INFO: Config Progress: [###############################                   ][2020-11-18 03:12:41] INFO: Config Progress: [###############################                   ][2020-11-18 03:12:41] INFO: Config Progress: [################################                  ][2020-11-18 03:12:41] INFO: Config Progress: [################################                  ][2020-11-18 03:12:41] INFO: Config Progress: [#################################                 ][2020-11-18 03:12:41] INFO: Config Progress: [#################################                 ][2020-11-18 03:12:41] INFO: Config Progress: [##################################                ][2020-11-18 03:12:41] INFO: Config Progress: [##################################                ][2020-11-18 03:12:41] INFO: Config Progress: [###################################               ][2020-11-18 03:12:41] INFO: Config Progress: [###################################               ][2020-11-18 03:12:41] INFO: Config Progress: [####################################              ][2020-11-18 03:12:41] INFO: Config Progress: [####################################              ][2020-11-18 03:12:41] INFO: Config Progress: [#####################################             ][2020-11-18 03:12:41] INFO: Config Progress: [#####################################             ][2020-11-18 03:12:41] INFO: Config Progress: [######################################            ][2020-11-18 03:12:41] INFO: Config Progress: [######################################            ][2020-11-18 03:12:41] INFO: Config Progress: [#######################################           ][2020-11-18 03:12:41] INFO: Config Progress: [#######################################           ][2020-11-18 03:12:41] INFO: Config Progress: [########################################          ][2020-11-18 03:12:41] INFO: Config Progress: [########################################          ][2020-11-18 03:12:41] INFO: Config Progress: [#########################################         ][2020-11-18 03:12:41] INFO: Config Progress: [#########################################         ][2020-11-18 03:12:41] INFO: Config Progress: [##########################################        ][2020-11-18 03:12:41] INFO: Config Progress: [##########################################        ][2020-11-18 03:12:41] INFO: Config Progress: [###########################################       ][2020-11-18 03:12:41] INFO: Config Progress: [###########################################       ][2020-11-18 03:12:41] INFO: Config Progress: [############################################      ][2020-11-18 03:12:41] INFO: Config Progress: [############################################      ][2020-11-18 03:12:41] INFO: Config Progress: [#############################################     ][2020-11-18 03:12:41] INFO: Config Progress: [#############################################     ][2020-11-18 03:12:41] INFO: Config Progress: [##############################################    ][2020-11-18 03:12:41] INFO: Config Progress: [##############################################    ][2020-11-18 03:12:41] INFO: Config Progress: [###############################################   ][2020-11-18 03:12:41] INFO: Config Progress: [###############################################   ][2020-11-18 03:12:41] INFO: Config Progress: [################################################  ][2020-11-18 03:12:41] INFO: Config Progress: [################################################  ][2020-11-18 03:12:41] INFO: Config Progress: [################################################# ][2020-11-18 03:12:41] INFO: Config Progress: [################################################# ][2020-11-18 03:12:41] INFO: Config Progress: [##################################################] | 100%
[2020-11-18 03:12:44] INFO: Startup Progress: [                                                  [2020-11-18 03:12:44] INFO: Startup Progress: [#                                                 [2020-11-18 03:12:44] INFO: Startup Progress: [#                                                 [2020-11-18 03:12:44] INFO: Startup Progress: [##                                                [2020-11-18 03:12:44] INFO: Startup Progress: [##                                                [2020-11-18 03:12:44] INFO: Startup Progress: [###                                               [2020-11-18 03:12:44] INFO: Startup Progress: [###                                               [2020-11-18 03:12:44] INFO: Startup Progress: [####                                              [2020-11-18 03:12:44] INFO: Startup Progress: [####                                              [2020-11-18 03:12:44] INFO: Startup Progress: [#####                                             [2020-11-18 03:12:44] INFO: Startup Progress: [#####                                             [2020-11-18 03:12:44] INFO: Startup Progress: [######                                            [2020-11-18 03:12:44] INFO: Startup Progress: [######                                            [2020-11-18 03:12:44] INFO: Startup Progress: [#######                                           [2020-11-18 03:12:44] INFO: Startup Progress: [#######                                           [2020-11-18 03:12:44] INFO: Startup Progress: [########                                          [2020-11-18 03:12:44] INFO: Startup Progress: [########                                          [2020-11-18 03:12:44] INFO: Startup Progress: [#########                                         [2020-11-18 03:12:44] INFO: Startup Progress: [#########                                         [2020-11-18 03:12:44] INFO: Startup Progress: [##########                                        [2020-11-18 03:12:44] INFO: Startup Progress: [##########                                        [2020-11-18 03:12:44] INFO: Startup Progress: [###########                                       [2020-11-18 03:12:44] INFO: Startup Progress: [###########                                       [2020-11-18 03:12:44] INFO: Startup Progress: [############                                      [2020-11-18 03:12:44] INFO: Startup Progress: [############                                      [2020-11-18 03:12:44] INFO: Startup Progress: [#############                                     [2020-11-18 03:12:44] INFO: Startup Progress: [#############                                     [2020-11-18 03:12:44] INFO: Startup Progress: [##############                                    [2020-11-18 03:12:44] INFO: Startup Progress: [##############                                    [2020-11-18 03:12:44] INFO: Startup Progress: [###############                                   [2020-11-18 03:12:44] INFO: Startup Progress: [###############                                   [2020-11-18 03:12:44] INFO: Startup Progress: [################                                  [2020-11-18 03:12:44] INFO: Startup Progress: [################                                  [2020-11-18 03:12:44] INFO: Startup Progress: [#################                                 [2020-11-18 03:12:44] INFO: Startup Progress: [#################                                 [2020-11-18 03:12:44] INFO: Startup Progress: [##################                                [2020-11-18 03:12:44] INFO: Startup Progress: [##################                                [2020-11-18 03:12:44] INFO: Startup Progress: [###################                               [2020-11-18 03:12:44] INFO: Startup Progress: [###################                               [2020-11-18 03:12:44] INFO: Startup Progress: [####################                              [2020-11-18 03:12:44] INFO: Startup Progress: [####################                              [2020-11-18 03:12:44] INFO: Startup Progress: [#####################                             [2020-11-18 03:12:44] INFO: Startup Progress: [#####################                             [2020-11-18 03:12:44] INFO: Startup Progress: [######################                            [2020-11-18 03:12:44] INFO: Startup Progress: [######################                            [2020-11-18 03:12:44] INFO: Startup Progress: [#######################                           [2020-11-18 03:12:44] INFO: Startup Progress: [#######################                           [2020-11-18 03:12:44] INFO: Startup Progress: [########################                          [2020-11-18 03:12:44] INFO: Startup Progress: [########################                          [2020-11-18 03:12:44] INFO: Startup Progress: [#########################                         [2020-11-18 03:12:44] INFO: Startup Progress: [#########################                         [2020-11-18 03:12:44] INFO: Startup Progress: [##########################                        [2020-11-18 03:12:44] INFO: Startup Progress: [##########################                        [2020-11-18 03:12:44] INFO: Startup Progress: [###########################                       [2020-11-18 03:12:44] INFO: Startup Progress: [###########################                       [2020-11-18 03:12:44] INFO: Startup Progress: [############################                      [2020-11-18 03:12:44] INFO: Startup Progress: [############################                      [2020-11-18 03:12:44] INFO: Startup Progress: [#############################                     [2020-11-18 03:12:44] INFO: Startup Progress: [#############################                     [2020-11-18 03:12:44] INFO: Startup Progress: [##############################                    [2020-11-18 03:12:44] INFO: Startup Progress: [##############################                    [2020-11-18 03:12:44] INFO: Startup Progress: [###############################                   [2020-11-18 03:12:44] INFO: Startup Progress: [###############################                   [2020-11-18 03:12:44] INFO: Startup Progress: [################################                  [2020-11-18 03:12:44] INFO: Startup Progress: [################################                  [2020-11-18 03:12:44] INFO: Startup Progress: [#################################                 [2020-11-18 03:12:44] INFO: Startup Progress: [#################################                 [2020-11-18 03:12:44] INFO: Startup Progress: [##################################                [2020-11-18 03:12:44] INFO: Startup Progress: [##################################                [2020-11-18 03:12:44] INFO: Startup Progress: [###################################               [2020-11-18 03:12:44] INFO: Startup Progress: [###################################               [2020-11-18 03:12:44] INFO: Startup Progress: [####################################              [2020-11-18 03:12:44] INFO: Startup Progress: [####################################              [2020-11-18 03:12:44] INFO: Startup Progress: [#####################################             [2020-11-18 03:12:44] INFO: Startup Progress: [#####################################             [2020-11-18 03:12:44] INFO: Startup Progress: [######################################            [2020-11-18 03:12:44] INFO: Startup Progress: [######################################            [2020-11-18 03:12:44] INFO: Startup Progress: [#######################################           [2020-11-18 03:12:44] INFO: Startup Progress: [#######################################           [2020-11-18 03:12:44] INFO: Startup Progress: [########################################          [2020-11-18 03:12:44] INFO: Startup Progress: [########################################          [2020-11-18 03:12:44] INFO: Startup Progress: [#########################################         [2020-11-18 03:12:44] INFO: Startup Progress: [#########################################         [2020-11-18 03:12:44] INFO: Startup Progress: [##########################################        [2020-11-18 03:12:44] INFO: Startup Progress: [##########################################        [2020-11-18 03:12:44] INFO: Startup Progress: [###########################################       [2020-11-18 03:12:44] INFO: Startup Progress: [###########################################       [2020-11-18 03:12:44] INFO: Startup Progress: [############################################      [2020-11-18 03:12:44] INFO: Startup Progress: [############################################      [2020-11-18 03:12:44] INFO: Startup Progress: [#############################################     [2020-11-18 03:12:44] INFO: Startup Progress: [#############################################     [2020-11-18 03:12:44] INFO: Startup Progress: [##############################################    [2020-11-18 03:12:44] INFO: Startup Progress: [##############################################    [2020-11-18 03:12:44] INFO: Startup Progress: [###############################################   [2020-11-18 03:12:44] INFO: Startup Progress: [###############################################   [2020-11-18 03:12:44] INFO: Startup Progress: [################################################  [2020-11-18 03:12:44] INFO: Startup Progress: [################################################  [2020-11-18 03:12:44] INFO: Startup Progress: [################################################# [2020-11-18 03:12:44] INFO: Startup Progress: [################################################# [2020-11-18 03:12:44] INFO: Startup Progress: [##################################################] | 100%
[2020-11-18 03:12:33] INFO: Status Code[0]
[2020-11-18 03:12:33] INFO: [Job done!]
Welcome to
    __ __    ___     ____    __ __    ___            ______    ___    ______    __     ______
   / //_/   /   |   / __/   / //_/   /   |          / ____/   /   |  / ____/   / /    / ____/
  / ,<     / /| |  / /_    / ,<     / /| |         / __/     / /| | / / __    / /    / __/   
 / /| |   / ___ | / __/   / /| |   / ___ |        / /___    / ___ |/ /_/ /   / /___ / /___   
/_/ |_|  /_/  |_|/_/     /_/ |_|  /_/  |_|       /_____/   /_/  |_|\____/   /_____//_____/   
                                                                                             

Version 2.0.2 -- Copyright 2016-2020
*******************************************************************
* Kafka Eagle Service has started success.
* Welcome, Now you can visit 'http://192.168.255.130:8048'
* Account:admin ,Password:123456
*******************************************************************
* <Usage> ke.sh [start|status|stop|restart|stats] </Usage>
* <Usage> https://www.kafka-eagle.org/ </Usage>
*******************************************************************
View Code

关键的部分为最后几行

见到如上图内容即可认为是成功了。

在命令行输入jps可以看到KafkaEagle的进程,bin目录下会生成ke.pid(存有KafkaEagle的进程ID)的文件。

7、登录页面

拷贝刚才显示的登录链接到任一浏览器,我这里是http://192.168.255.130:8048 ,键入用户名(admin)密码(12345)

login

登入后如下图所示,即代表成功。

上述过程跳过了MySQL的安装,可以参考MySQL主从复制小记

参考资料:https://www.kafka-eagle.org/articles/docs/installation/linux-macos.html

收住自己的心 一步一个脚印 做好自己的事
原文地址:https://www.cnblogs.com/GodMode/p/14001654.html