A blog for technology, SEO tips, website development and open source programming.

Running ElasticSearch on Linux

0 807

Big-data-600x450logo

ElasticSearch is a great open-source search tool that’s built on Lucene (like SOLR) but is natively JSON + RESTful. Its been used quite a bit at the Open Knowledge Foundation over the last few years. Plus, as its easy to setup locally its an attractive option for digging into data on your local machine. The post will demonstrate how to install ElasticSearch on Linux.

Installing and running ElasticSearch on Linux

ElasticSearch makes it easy to run a full-featured search server. In fact, its so easy, I’m going to show you how in 5 minutes!

**You should also have JDK 6 or above installed.

 

Ensure that you have the correct java version

java -version
echo $JAVA_HOME

1. Open a terminal window and type the following:
curl -L -O https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.tar.gz

2. unzip the files 
tar -xvf elastic search-1.3.4.tar.gz

3. Locate the installed files 
cd elasticsearch-1.3.4/bin

4. Run Elasticsearch locally

./elasticsearch

 

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More