# 下载安装包
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.9.2-x86_64.rpm
# 安装
yum install kibana-7.9.2-x86_64.rpm -y
# 配置
vim /etc/kibana/kibana.yml
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://10.10.8.164:9200", "http://10.10.8.165:9200", "http://10.10.8.166:9200"] # es地址
elasticsearch.username: "elastic" #es账号
elasticsearch.password: "1qaz@WSX" # es密码
logging.dest: /var/log/kibana.log
i18n.locale: "zh-CN"
# 创建日志目录并授权
touch /var/log/kibana.log
chown -R kibana:kibana /var/log/kibana.log
# 启动kibana
systemctl enable kibana
systemctl start kibana
# 访问
http://10.10.8.164:5601/ # 用户密码就是es的用户密码 elastic:1qaz@WSX