centos7下的elk安装

2019-09-30  本文已影响0人  杰_6343

导入es的PGP秘钥

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

添加RPM源

vim /etc/yum.repos.d/elasticsearch.repo

[elasticsearch-7.x]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
yum install elasticsearch 

手动安装

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-x86_64.rpm
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.2-x86_64.rpm.sha512
shasum -a 512 -c elasticsearch-7.3.2-x86_64.rpm.sha512
sudo rpm --install elasticsearch-7.3.2-x86_64.rpm
上一篇 下一篇

猜你喜欢

热点阅读