- 下载并安装签名公钥
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
- 从RPM储存库安装
vi /etc/yum.repos.d/kibana.repo
[kibana-7.x]
name=Kibana repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
sudo yum install kibana
- 修改kibana.yml配置
vi /etc/kibana/kibana.yml
server.port: 5601
server.host: "0.0.0.0"
server.publicBaseUrl: "http://192.168.107.130:5601"
elasticsearch.hosts: ["http://localhost:9200"]
i18n.locale: "zh-CN"
- 开机运行配置
systemctl daemon-reload
systemctl enable kibana.service
- 服务启动和停止
systemctl start kibana.service
systemctl stop kibana.service