Linux下安装部署Kibana

13 篇文章 0 订阅

系统: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
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值