1、编辑kibana.service
vi /etc/systemd/system/kibana.service
[Unit]
Description=Kibana Server Manager
[Service]
Type=simple
User=es
ExecStart=/home/es/kibana-7.10.2-linux-x86_64/bin/kibana
PrivateTmp=true
[Install]
WantedBy=multi-user.target
2、启动kibana
# 刷新systemctl
ystemctl daemon-reload
# 启动kibana
systemctl start kibana
#设置开机自启动
systemctl enable kibana
3、查看kibana启动状态
systemctl status kibana