ElasticSearch-卸载版本6.4.3,安装版本6.4.2-Linux Ubuntu

时间:2020-03-25 14:55:51

标签: elasticsearch

我们在Ubuntu 16.04上有一个带有ElasticSearch 6.4.3的3节点集群。全新安装的ES之外没有任何内容-没有索引,没有Kibana,没有Beats,没有Logstash等。

已要求我降级到6.4.2版。我在Linux方面的经验有限,但是足以运行命令行命令并理解输出。 Google已带领我一步步地实现了这一目标,但是如果有ES经验的人可能会指出一些逐步的事情,我对此的焦虑会减少很多。

我确实具有下载6.4.2的链接,但是我需要知道的一件事情是下载哪个文件:https://www.elastic.co/downloads/past-releases/elasticsearch-6-4-2

1 个答案:

答案 0 :(得分:2)

当然,这里有逐步指南,正如我为您使用的版本一样。

  1. 使用您提到的此链接https://www.elastic.co/downloads/past-releases/elasticsearch-6-4-2,将tar文件下载到本地系统。
  2. 使用SCP.tar文件传输到您的ubuntu实例,我使用了我的AWS ubuntu实例。

scp -i〜/您的身份文件〜/ Desktop / elasticsearch-6.4.2.tar.gz ubuntu @ aws-ec2-instance-ip:/ home / ubuntu

  1. 使用tar -xvf elasticsearch-6.4.2.tar.gz命令解压缩文件。
  2. 转到cd elasticsearch-6.4.2/config/之类的配置文件夹,并在elasticsearch.config中设置适当的值。
  3. 从bin文件夹./elastic命令启动elasticsearch。

更新:-基于与OP的聊天,添加了官方ES链接 https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.htmlhttps://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html以获取详细说明。