Install ElasticSearch on CentOS/RHEL

Share It!

ElasticSearch is adaptable and capable open source, dispersed ongoing pursuit and explanatory motor. Utilizing a basic arrangement of APIs, it gives the capacity to full-content hunt. Versatile inquiry is uninhibitedly accessible under the Apache 2 permit, which gives most adaptability.


Features include:

  • Circulated and Highly Available Search Engine.
  • Multi Tenant with Multi Types.
  • Various set of APIs
  • Document oriented
  • Reliable, Asynchronous Write Behind for long term persistency.
  • Real Time Search.
  • Built on top of Lucene
  • Per operation consistency
  • Step 1: Verify Java
    Java is the essential necessity for introducing ElasticSearch. So verify you have Java introduced on your framework.

    # java -version 
    java version "1.8.0_31"
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
    If you don’t have Java installed on your system, use one of following link to install it first.

    Install JAVA 7 on CentOS/RHEL
    Install Java 8 on CentOS/RHEL 6/5

    Step 2: Downloading ElasticSearch Archive
    Presently download the most recent ElasticSearch document from its authority download page.

    # wget

    Step 3: Extract ElasticSearch
    Now extract ElasticSearch on your server.

    # tar xzf elasticsearch-1.5.1.tar.gz

    Step 4: Configure ElasticSearch
    Presently we have to setup ElasticSearch bunch name. ElasticSearch utilizes “elasticsearch” as default bunch name, We prescribe to change it according to your need.

    # mv elasticsearch-1.5.1 /usr/local/elasticsearch
    # cd /usr/local/elasticsearch

    Step 5: Changes in Configuration file
    To change cluster named alter config/elasticsearch.yml record and upgrade following values.

    # vim config/elasticsearch.yml
   Technical_Group "Technical Help"


    Step 6: Install ElasticSearch-Head Plugin
    elasticsearch-head is a web front end for scanning and cooperating with an Elastic Search cluster. Use the following command to install it.

    # bin/plugin --install mobz/elasticsearch-head

    Step 7: Starting ElasticSearch Cluster
    As the ElasticSearch setup is finished. Let the begin ElasticSearch using following command.

    # ./bin/elasticsearch &

    Step 8: Verify Setup
    You have all done, simply need to check setup. ElasticSearch deals with port default port 9200.



    Basic Examples of ElasticSearch Uses

Leave a Reply

Your email address will not be published.