“Kafka-Eagle 监控平台”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) |
Jihongchang(讨论 | 贡献) |
||
(未显示同一用户的3个中间版本) | |||
第8行: | 第8行: | ||
<syntaxhighlight lang="shell-session"> | <syntaxhighlight lang="shell-session"> | ||
[root@bogon ~]# cd /usr/local | [root@bogon ~]# cd /usr/local | ||
− | [root@bogon | + | [root@bogon ~]# rz |
− | [root@bogon | + | [root@bogon ~]# tar -zxvf kafka-eagle-web-2.0.5-bin.tar.gz |
− | + | [root@bogon ~]# ls | |
− | + | kafka-eagle-web-2.0.5 kafka-eagle-web-2.0.5-bin.tar.gz | |
− | [root@bogon | + | [root@bogon ~]# cd kafka-eagle-web-2.0.5 |
− | + | [root@bogon kafka-eagle-web-2.0.5]# ls | |
− | [root@bogon kafka-eagle | ||
− | [root@bogon | ||
bin conf db font kms logs | bin conf db font kms logs | ||
− | [root@bogon | + | [root@bogon kafka-eagle-web-2.0.5]# |
</syntaxhighlight> | </syntaxhighlight> | ||
第41行: | 第39行: | ||
*创建数据库 | *创建数据库 | ||
创建上面配置文件中的数据库 | 创建上面配置文件中的数据库 | ||
+ | |||
*启动<syntaxhighlight lang="shell-session"> | *启动<syntaxhighlight lang="shell-session"> | ||
第58行: | 第57行: | ||
**The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support. | **The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support. | ||
就需要确认数据时区设置的问题 [[MySQL 修改时区]] | 就需要确认数据时区设置的问题 [[MySQL 修改时区]] | ||
+ | |||
+ | 遇到问题可以通过 $EK_HOME/logs/error.log 定位、解决 | ||
+ | |||
+ | |||
+ | |||
+ | === 访问页面 === | ||
+ | [[文件:访问 Kafka-eagle.png|无|缩略图|1200x1200像素]] |
2022年8月30日 (二) 11:20的最新版本
历史版本:http://www.kafka-eagle.org/articles/docs/changelog/changelog.html
https://www.bilibili.com/video/BV1Xy4y1G7zA?p=32
1.搭建
[root@bogon ~]# cd /usr/local
[root@bogon ~]# rz
[root@bogon ~]# tar -zxvf kafka-eagle-web-2.0.5-bin.tar.gz
[root@bogon ~]# ls
kafka-eagle-web-2.0.5 kafka-eagle-web-2.0.5-bin.tar.gz
[root@bogon ~]# cd kafka-eagle-web-2.0.5
[root@bogon kafka-eagle-web-2.0.5]# ls
bin conf db font kms logs
[root@bogon kafka-eagle-web-2.0.5]#
- 为 Kafka-Eagle 配置环境变量
[root@bogon efak-web-3.0.1]# vim /etc/profile //在文件末尾追加如下内容 export KE_HOME=/usr/local/kafka-eagle/efak-web-3.0.1 export PATH=$PATH:$KE_HOME/bin [root@bogon efak-web-3.0.1]# source /etc/profile
- 需要修改 Kafka-Eagle 内部的配置文件
efak.zk.cluster.alias=cluster1 cluster1.zk.list=192.168.137.200:2181,192.168.137.200:2182,192.168.137.200:2183 ...... efak.driver=com.mysql.cj.jdbc.Driver efak.url=jdbc:mysql://192.168.0.120:3306/ke?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull efak.username=root efak.password=123456
- 创建数据库
创建上面配置文件中的数据库
- 启动如果无法访问,日志文件报错
[root@bogon conf]# cd ../bin [root@bogon bin]# ls -l total 24 -rw-r--r--. 1 root root 1848 Sep 13 2021 ke.bat -rwxr-xr-x. 1 root root 11289 Dec 12 2021 ke.sh -rwxr-xr-x. 1 root root 4776 Dec 12 2021 worknode.sh [root@bogon bin]# ./ke.sh start ...... * Welcome, Now you can visit 'http://10.0.2.4:8048' * Account:admin ,Password:123456 ...... [root@bogon bin]#
- The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serverTimezone' configuration property) to use a more specifc time zone value if you want to utilize time zone support.
就需要确认数据时区设置的问题 MySQL 修改时区
遇到问题可以通过 $EK_HOME/logs/error.log 定位、解决