Setting up Elasticsearch

Execute the following steps to set up Elasticsearch:

  1. Download the Elasticsearch setup file using the following command:
    wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-
5.2.2.tar.gz
  1. Extract elasticsearch-5.2.2.tar.gz using the following command:
    tar -xzf elasticsearch-5.2.2.tar.gz
  1. Go to the elasticsearch-5.2.2 directory:
    cd elasticsearch-5.2.2/
  1. Start Elasticsearch using the given command:
    ./bin/elasticsearch