系统:CentOS Linux release 7.7.1908 (Core)
软件:kibana-7.9.2
安装步骤:
#需先安装好es 注意选择与es同样版本的kibana
mkdir -p /usr/local/soft/package
cd /usr/local/soft/package
#下载安装包,解压
wget https://mirrors.huaweicloud.com/kibana/7.9.2/kibana-7.9.2-linux-x86_64.tar.gz
tar -xzvf kibana-7.9.2-linux-x86_64.tar.gz
mv kibana-7.9.2-linux-x86_64 ../kibana-7.9.2
chown es:es -R /usr/local/soft/kibana-7.9.2
su es
cd /usr/local/soft/kibana-7.9.2/bin
#直接启动
#./kibana
#后台启动
nohup ./kibana >/dev/null 2>&1 &
配置:
#配置config文件夹下的kibana.yml文件
# Kibana is served by a back end server. This setting specifies the port to use.
#端口设置
server.port: 5601
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
#访问地址
server.host: "0.0.0.0"
# If your Elasticsearch is protected with basic authentication, these settings provide
# the username and password that the Kibana server uses to perform maintenance on the Kibana
# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which
# is proxied through the Kibana server.
# 设置账号密码
elasticsearch.username: "kibana_system"
elasticsearch.password: "pass"
# Specifies locale to be used for all localizable strings, dates and number formats.
# Supported languages are the following: English - en , by default , Chinese - zh-CN .
#i18n.locale: "en"
#选择中文
i18n.locale: "zh-CN"
测试:
curl 127.0.0.1:5601