美文网首页ES
Centos 7.X 安装 Elasticsearch (yum

Centos 7.X 安装 Elasticsearch (yum

作者: S拒绝拖延 | 来源:发表于2021-12-10 15:10 被阅读0次
  1. 官网 Install Elasticsearch with RPM | Elasticsearch Guide [7.16] | Elastic

2.下载公钥

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

3.在 /etc/yum.repos.d/ 下添加 elasticsearch.repo

[elasticsearch]
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=0
autorefresh=1
type=rpm-md

刷新 yum 缓存

yum clean all
yum makecache

执行安装

yum install --enablerepo=elasticsearch elasticsearch

4.配置
修改 /etc/elasticsearch/elasticsearch.yml


image.png

相关文章

网友评论

    本文标题:Centos 7.X 安装 Elasticsearch (yum

    本文链接:https://www.haomeiwen.com/subject/kavcfrtx.html