Skip to content

Kafka监控 Kafka Web Console

yangyp8110 edited this page Jan 17, 2018 · 1 revision

参考

环境

本机运行监控依赖的条件

安装play

[root@yyp softpackages]# unzip play-2.2.6.zip 
[root@yyp softpackages]# mv play-2.2.6 /usr/local/install/
[root@yyp softpackages]# cd /usr/local/install/
[root@yyp install]# ll
total 12812
drwxr-xr-x. 6 root  root       92 Apr 16 06:10 apache-maven-3.5.0
drwxr-xr-x. 6 root  root       48 Jul 14 22:51 canal
drwxr-xr-x. 8    10  143     4096 Sep 22  2016 jdk1.8.0_111
drwxr-xr-x. 3 root  root       32 Jul 16 03:24 kafka
drwxr-xr-x. 4 nexus 1006       48 Apr 16 06:55 nexus
drwxr-xr-x. 3 root  root       49 Feb 19 06:37 nodejs
drwxrwxr-x. 5 root  root     4096 Nov 13  2014 play-2.2.6
drwxr-xr-x. 5 root  root     4096 Jul 15 12:15 zookeeper
[root@yyp install]# 

## 配置环境变量
[root@yyp install]# vi /etc/profile
  # play framework
  export PATH=$PATH:/usr/local/install/play-2.2.6
  # play framwork
[root@yyp play-2.2.6]# source /etc/profile
## 检查是否安装成功
[root@yyp play-2.2.6]# play
play:      SoX v14.4.1

play FAIL sox: Not enough input filenames specified
……

安装kafka console

[root@yyp softpackages]# unzip sbt-0.13.15.zip
[root@yyp softpackages]# mv sbt /usr/local/install/sbt-0.13.15/
Clone this wiki locally