DEB方式安装elastic search7以及使用

参考:https://www.cnblogs.com/anech/p/15957607.html

1、安装elastic search7

#手动下载安装

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.1-amd64.deb

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.17.1-amd64.deb.sha512

shasum -a 512 -c elasticsearch-7.17.1-amd64.deb.sha512

sudo dpkg -i elasticsearch-7.17.1-amd64.deb

#删除下载文件

sudo rm -r elasticsearch-7.17.1-amd64.deb && sudo rm -r elasticsearch-7.17.1-amd64.deb.sha512

#运行 Elasticsearch systemd

sudo /bin/systemctl daemon-reload

2、启动Elasticsearch

复制代码
sudo systemctl enable elasticsearch.service && sudo systemctl start elasticsearch.service

3、验证Elasticsearch是否正常

复制代码
curl -X GET "localhost:9200/"

还是没安装好呢,怎么办呢

相关推荐
张太行_7 小时前
Linux静态库:多模块高效管理
linux·运维·服务器
wgl6665207 小时前
Linux---基础IO!
linux·运维·服务器
Ancelin安心8 小时前
kali-dirsearch的使用
linux·运维·服务器·python·计算机网络·web安全·网络安全
jun_bai8 小时前
python+Java的网盘程序升级版。无感知备份文档,保护数据资产利器。
运维·服务器
suzhou_speeder9 小时前
PoE 延长器:突破 PoE 距离限制,优化网络灵活部署方案
运维·网络·poe·poe交换机·poe延长器
月光下的麦克9 小时前
如何查案动态库版本
linux·运维·c++
EndingCoder9 小时前
索引类型和 keyof 操作符
linux·运维·前端·javascript·ubuntu·typescript
liux35289 小时前
Web集群管理实战指南:从架构到运维
运维·前端·架构
石小千10 小时前
Linux清除缓存
linux·运维
weixin_5160230710 小时前
VESTA在Linux下的安装
linux·运维·服务器