1.导入pgp key
rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
2.添加repo
vi /etc/yum.repos.d/kibana.repo
内容如下
[kibana-5.x]name=Kibana repository for 5.x packagesbaseurl=https://artifacts.elastic.co/packages/5.x/yumgpgcheck=1gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearchenabled=1autorefresh=1type=rpm-md
3.安装kibana
yum install -y kibanasystemctl enable kibana #设为开机启动systemctl start kibana #启动服务
4.公开服务
vi /etc/kibana/kibana.yml
内容如下
server.host: 0.0.0.0
重启服务
systemctl restart kibana
5.访问服务 chrome访问