安装 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

相关推荐
应用市场15 分钟前
Linux驱动开发原理详解:从入门到实践
linux·运维·驱动开发
siriuuus31 分钟前
Linux MySQL 多实例部署与配置实践
linux·运维·mysql
郝学胜-神的一滴1 小时前
深入解析Linux下的`lseek`函数:文件定位与操作的艺术
linux·运维·服务器·开发语言·c++·软件工程
一念一花一世界1 小时前
开源CICD工具深度横评,Jenkins vs Arbess哪个更适合你?
jenkins·arbess·tiklab devops·cicd工具
刘某的Cloud3 小时前
ceph设置标志位
linux·运维·ceph·openstack
monkeyhlj3 小时前
excel-mcp-server rocky linux简单部署
linux·运维·excel
liulilittle3 小时前
HI3798MV100 运营商机顶盒NAS LINUX OS - IP地址静态绑定指南
linux·运维·服务器·网络·tcp/ip·nas·机顶盒
嗨丶王哪跑4 小时前
网络安全主动防御技术与应用
运维·网络·安全·web安全
馨谙4 小时前
chage -d 0 强制密码修改的完整流程
linux·运维
喵叔哟4 小时前
7. 从0到上线:.NET 8 + ML.NET LTR 智能类目匹配实战--反馈存储与数据治理:MongoDB 设计与运维
运维·mongodb·.net