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