系统相关
首页 > 系统相关> > centos安装elasticsearch

centos安装elasticsearch

作者:互联网

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

按键ESC退出编辑,:wq保存退出。

sudo systemctl daemon-reload
sudo systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service

标签:co,elastic,centos,artifacts,sudo,elasticsearch,yum,安装
来源: https://www.cnblogs.com/fuxuyang/p/15768283.html