1. 程式人生 > 實用技巧 >Kafka Eagle CentOS6安裝

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)

登入後如下圖所示,即代表成功。

上述過程跳過了MySQL的安裝,可以參考MySQL主從複製小記

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