安装 Elasticsearch7

导入 Elasticsearch 的公钥

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

安装 apt-transport-https 包

sudo apt-get install apt-transport-https

添加 Elasticsearch 的源列表

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

更新 apt 包索引

sudo apt-get update

安装 Elasticsearch

sudo apt-get install elasticsearch

启动并设置 Elasticsearch 在开机时启动

sudo systemctl start elasticsearch

sudo systemctl enable elasticsearch

相关推荐
ZLRRLZ1 天前
【Docker】Docker安装
运维·docker·容器
逐梦吧!旅行者1 天前
Linux之环境变量(内容由浅入深,层层递进)
linux·运维
挨踢攻城1 天前
Linux 应急响应实操 Checklist
linux·运维·linux命令·rhce·rhca·厦门微思网络·linux 应急响应
wanhengidc1 天前
什么是云手机?
运维·网络·安全·游戏·智能手机
optiz1 天前
细菌基因组genome二代测序数据分析
linux·运维·服务器
IT成长日记1 天前
【Linux基础】Linux系统管理:GPT分区实践详细操作指南
linux·运维·服务器·gpt·parted·磁盘分区·fdisk
爱喝水的鱼丶1 天前
SAP-ABAP: ABAP ASSIGN COMPONENT 语句详解:动态字段符号的利器作用用法示例详解
运维·开发语言·sap·abap·开发经验·动态字段符号
清寒敲代码1 天前
k8s核心技术-Helm
运维·容器·kubernetes
quqi991 天前
Enable FIPS in ubuntu (by quqi99)
linux·运维·ubuntu
人工智能训练师1 天前
在Ubuntu中如何使用PM2来运行一个编译好的Vue项目
linux·运维·服务器·vue.js·ubuntu·容器