ubantu-elasticsearch

在Ubuntu上安装Elasticsearch的步骤如下:

1.导入Elasticsearch公钥:

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

2.添加elasticsearch到APT源列表

echo "deb https://artifacts.elastic.co/packages/7.3.1/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.3.1.list

3.更新包索引

sudo apt-get update

4.安装elasticsearch

sudo systemctl install elasticsearch

5.启动elasticsearch服务

sudo systemctl start elasticsearch.service

6.设置系统自启动

sudo systemctl enable elasticsearch.service

7.验证elasticsearch是否运行

curl -X GET "localhost:9200"

相关推荐
Elasticsearch10 小时前
如何使用 Agent Builder 排查 Kubernetes Pod 重启和 OOMKilled 事件
elasticsearch
Elasticsearch1 天前
通用表达式语言 ( CEL ): CEL 输入如何改进 Elastic Agent 集成中的数据收集
elasticsearch
蝎子莱莱爱打怪2 天前
Centos7中一键安装K8s集群以及Rancher安装记录
运维·后端·kubernetes
DianSan_ERP3 天前
电商API接口全链路监控:构建坚不可摧的线上运维防线
大数据·运维·网络·人工智能·git·servlet
呉師傅3 天前
火狐浏览器报错配置文件缺失如何解决#操作技巧#
运维·网络·windows·电脑
不是二师兄的八戒3 天前
Linux服务器挂载OSS存储的完整实践指南
linux·运维·服务器
zhangfeng11333 天前
趋动云 如何ssh登录 服务区 项目server
运维·人工智能·ssh
ZeroNews内网穿透3 天前
谷歌封杀OpenClaw背后:本地部署或是出路
运维·服务器·数据库·安全
失重外太空啦3 天前
nginx
运维·nginx
Gofarlic_oms13 天前
避免Kisssoft高级分析模块过度采购的科学评估方法
大数据·linux·运维·人工智能·matlab