参考: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/"
还是没安装好呢,怎么办呢?