Linux使用 RPM 安装 Kibana

参考地址:https://www.elastic.co/guide/en/kibana/8.5/rpm.html#rpm-repo

1.下载并安装公共签名密钥

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

2.创建软件源

cat > /etc/yum.repos.d/kibana.repo << EOF
[kibana-8.x]
name=Kibana repository for 8.x packages
baseurl=https://artifacts.elastic.co/packages/8.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
EOF

3.安装

  1.使用rpm安装

yum install kibana

  2.离线安装

wget https://artifacts.elastic.co/downloads/kibana/kibana-8.5.2-x86_64.rpm
sudo rpm --install kibana-8.5.2-x86_64.rpm

4.设置开机启动

systemctl daemon-reload
systemctl enable kibana.service

5.编辑配置文件

vi /etc/kibana/kibana.yml
server.port: 5601 
server.host: "0.0.0.0" 
elasticsearch.hosts: ["https://192.168.182.128:9200"] 
kibana.index: ".kibana"
i18n.locale: "zh-CN"

5.启动

systemctl start kibana.service

 

posted @ 2022-12-04 17:50  SpringCore  阅读(454)  评论(0编辑  收藏  举报