ubuntu16.04安装kibana

安装linux

cd /app
wget https://artifacts.elastic.co/downloads/kibana/kibana-7.2.0-linux-x86_64.tar.gz
tar -zxvf kibana-7.2.0-linux-x86_64.tar.gz
mv kibana-7.2.0-linux-x86_64 kibana
useradd kibana
chown -R kibana:kibana kibana
vim kibana/config/kibana.yml
vim /etc/systemd/system/kibana.service
systemctl daemon-reload
systemctl enable kibana
systemctl start kibana
systemctl status kibana

kibana.ymlvim

打开以下配置

server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://127.0.0.1:9200"]

kibana.serviceapp

[Unit]
Description=Kibana
StartLimitIntervalSec=30
StartLimitBurst=3

[Service]
Environment=KIBANA_HOME=/app/kibana
WorkingDirectory=/app/kibana

# 指定用户组
User=kibana
Group=kibana

ExecStart=/app/kibana/bin/kibana "-c /app/kibana/config/kibana.yml"

Restart=always
WorkingDirectory=/

[Install]
WantedBy=multi-user.target

访问elasticsearch

http://10.13.6.10:5601code

ES集群只要在其中一台安装便可server

相关文章
相关标签/搜索