1.下載下傳
可以從這下載下傳
https://blog.csdn.net/weixin_37281289/article/details/101483434 2.解壓tar -zxvf kibana.tar.gz
3.修改配置
修改 /usr/local/kibana/kibana-7.6.0-linux-x86_64/config/kibana.yml
1. i18n.locale: "zh-CN" #漢化
2. server.port: 5601
3. server.host: 0.0.0.0
如果上文es開啟了xpack 需要加入以下配置
1. elasticsearch.username: "elastic"
2. elasticsearch.password: "xxxx"
3. xpack.reporting.encryptionKey: "a_random_string"
4. xpack.security.encryptionKey: "something_at_least_32_characters"
4.賦權
因為需要使用非root使用者啟動 是以需要賦權
chown -R elasticsearch /usr/local/kibana
5.開通端口
/sbin/iptables -I INPUT -p tcp --dport 5601 -j ACCEPT
6.背景運作
nohup ./kibana &
7.成功
ip:5601
