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



我们在Ubuntu 16.04上有一个带有ElasticSearch 6.4.3的三节点集群。除了新安装的ES之外,什么都不存在——没有索引,没有Kibana,没有Beats,没有Logstash,等等。

我被要求降级到6.4.2版本。我的Linux经验有限,但足以运行命令行命令并理解输出。谷歌已经把我带到了实现这一目标的各个环节,但如果有ES经验的人能够向我指出一些更循序渐进的事情,我会对此感到不那么焦虑。

我确实有这个链接可以下载6.4.2,但我需要知道的一件事是下载哪个文件:https://www.elastic.co/downloads/past-releases/elasticsearch-6-4-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.gzubuntu@aws-ec2-instance-ip:/home/uuntu

  1. 使用tar -xvf elasticsearch-6.4.2.tar.gz命令取消tar文件
  2. 转到类似cd elasticsearch-6.4.2/config/的配置文件夹,并在elasticsearch.config中设置适当的值
  3. 从bin文件夹./elastic命令启动弹性搜索

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

最新更新