Kibana

一、下载
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.0.0-linux-x86_64.tar.gz

二、解压

[root@localhost elastic]# tar -zxvf kibana-7.0.0-linux-x86_64.tar.gz

三、配置config/kibana.yml

// nginx 转发这个里可以不设置
server.host: "192.168.177.128"
elasticsearch.hosts: ["http://192.168.177.128:9200"]
kibana.index: ".kibana"
// elasticsearch 配置x-pack后的账号密码
elasticsearch.username: "elastic"
elasticsearch.password: "123456"

三、运行

[elsearch@localhost kibana-7.0.0-linux-x86_64]$ nohup ./bin/kibana &

四、运行状态查看

[elsearch@localhost kibana-7.0.0-linux-x86_64]$ netstat -nltp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      -                   
tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      -                   
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      -                   
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      -                   
tcp        0      0 192.168.177.128:5601    0.0.0.0:*               LISTEN      4644/./bin/../node/ 
tcp6       0      0 :::3306                 :::*                    LISTEN      -                   
tcp6       0      0 :::111                  :::*                    LISTEN      -                   
tcp6       0      0 192.168.177.128:9200    :::*                    LISTEN      4280/java           
tcp6       0      0 192.168.177.128:9300    :::*                    LISTEN      4280/java           
tcp6       0      0 :::22                   :::*                    LISTEN      -                   
tcp6       0      0 ::1:631                 :::*                    LISTEN      -                   
tcp6       0      0 ::1:25                  :::*                    LISTEN      -                   
[elsearch@localhost kibana-7.0.0-linux-x86_64]$ 

五、关闭kibana

[elsearch@localhost kibana-7.0.0-linux-x86_64]$ kill 4644
Last modification:February 13th, 2020 at 03:41 pm
如果觉得我的文章对你有用,请随意赞赏