安装
安装参考官方手册「Installing Kibana」,已经非常详细了,介绍了各个平台的安装方法,以及各种包的安装方式。
Debian 8.2 and Kibana 6.5.0
#!/bin/sh # 前几步在进行Elasticsearch 6.50的安装时已经进行过了 wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - apt-get install apt-transport-https echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-6.x.list apt-get update # 安装Kibana 6.5.0 apt-get install kibana=6.5.0
CentOS 7.4 and Kibana 7.5.1
#!/bin/sh rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch cat > /etc/yum.repos.d/kibana.repo <<EOF [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 EOF yum install kibana
配置
# grep -v -E '#|^$' /etc/kibana/kibana.yml server.port: 5601 server.host: "0.0.0.0" elasticsearch.url: "http://10.10.50.220:9200" elasticsearch.username: "user" elasticsearch.password: "dfws.2018"