Linux 搭建 Kibana
2020-05-07 本文已影响0人
索性流年
文章合集
下载地址
下载完成上传至/usr/local目录
cd /usr/local
重命名文件
mv kibana-7.6.2-linux-x86_64 kibana
修改 kibana.yml
cd /usr/local/kibana/config
#将 localhost 修改为 0.0.0.0 方便访问
server.host: "0.0.0.0"
#将localhost修改为Elasticsearch地址
elasticsearch.hosts: ["http://192.168.112.143:9200"]
#将server.port解注
server.port: 5601
添加 es 用户
# 创建 elasticsearch用户组
groupadd elasticsearch
# 创建 es 用户
useradd es
# 将 es 用户添加到 elasticsearch用户组
usermod -a -G elasticsearch es
启动
su es
#进入 bin 目录
cd /usr/local/kibana
#启动
nohup bin/kibana &
访问(需要将 IP 替换成自己服务 IP)
http://192.168.112.143:5601/app/kibana#/home
出现如下页面则是成功

停止
ps -ef | grep kibana
kill -9 杀死进程即可