Stpete111
Stpete111

Reputation: 3457

ElasticSearch - uninstall version 6.4.3, install version 6.4.2 - Linux Ubuntu

We have a 3-node cluster with ElasticSearch 6.4.3 on Ubuntu 16.04. There is nothing existing outside of the fresh install of ES - no indexes, no Kibana, no Beats, no Logstash, etc.

I have been asked to downgrade to version 6.4.2. I have limited Linux experience, but enough to be able to run command line commands and understand the output. Google has lead me to bits and pieces around accomplishing this, but I'd feel a lot less anxiety around it if someone with ES experience may be able to point me to something that's a bit more step-by-step.

I do have this link to download 6.4.2, but one of the things I need to know is which file to download: https://www.elastic.co/downloads/past-releases/elasticsearch-6-4-2

Upvotes: 0

Views: 819

Answers (1)

Amit
Amit

Reputation: 32386

Sure here you go with step by step guide, As I did this for you, using your version.

  1. Using this link https://www.elastic.co/downloads/past-releases/elasticsearch-6-4-2, which you mentioned, download the tar file to your local system.
  2. Use SCP to transfer the .tar file to your ubuntu instance, I used my AWS ubuntu instance.

scp -i ~/your-identity-file ~/Desktop/elasticsearch-6.4.2.tar.gz ubuntu@aws-ec2-instance-ip:/home/ubuntu

  1. Untar file using tar -xvf elasticsearch-6.4.2.tar.gz command.
  2. Go to config folder like cd elasticsearch-6.4.2/config/ and set the proper values in elasticsearch.config.
  3. Start the elasticsearch from bin folder ./elastic command.

Update:- Based on the chat with OP, Adding official ES link https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.html and https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html for detailed instruction.

Upvotes: 2

Related Questions