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"

相关推荐
阳光九叶草LXGZXJ17 分钟前
达梦数据库-学习-43-定时备份模式和删除备份(Python+Crontab)
linux·运维·开发语言·数据库·python·学习
首席拯救HMI官19 分钟前
【拯救HMI】HMI容错设计:如何减少操作失误并快速纠错?
大数据·运维·前端·javascript·网络·学习
柯南小海盗22 分钟前
Elasticsearch同义词配置全攻略
大数据·elasticsearch·jenkins
HIT_Weston25 分钟前
99、【Ubuntu】【Hugo】搭建私人博客:搜索功能(三)
linux·运维·ubuntu
小蜗的房子28 分钟前
Oracle 19c RAC重建AWR步骤详解
linux·运维·数据库·sql·oracle·操作系统·oracle rac
杰拉拉德32 分钟前
Spring AI + Elasticsearch:语义/关键字/混合检索与知识问答
elasticsearch·知识库·rag·spring ai·混合检索·语义检索·关键字检索
范纹杉想快点毕业40 分钟前
C语言100个经典编程练习题(完整标题+清晰排版)
运维·c语言·单片机·嵌入式硬件·算法
久绊A42 分钟前
RAID10 单盘失效降级处理实操
linux·运维·服务器
智象科技1 小时前
高效运维新利器-裸金属自动化重装系统
运维·自动化·it运维·一体化运维
Gofarlic_OMS1 小时前
MATLAB许可证闲置自动检测与智能提醒
java·大数据·运维·开发语言·人工智能·算法·matlab