Tuesday 27 November 2012

Installing elastic search on Ubuntu 12.04

Steps for installing elastic search on ubuntu 12.04

1). Goto elastic search website and download the latest .deb version.

Download Elastic Search Here

3). Go to shell and install Elastic search with following command.

dpkg -i elasticsearch-0.19.11.deb

This will complete the elastic search installation on your machine.

4). Now simply start the elastic search service using command

sudo service elasticsearch start

5). Open you Browser and type following url in address bar
localhost:9200 
you will simply see something like this

{ "ok" : true, "status" : 200, "name" : "D'Ken", "version" : { "number" : "0.19.11", "snapshot_build" : false }, "tagline" : "You Know, for Search" }

-------Installation is completed -------------------

Now install the necessary plug-ins (head and bigdesk)
-------------------------------------------------------------

Navigate to elastic search directory using command 
cd /usr/share/elasticsearch/bin
and simply enter these two commands

sudo ./plugin -install mobz/elasticsearch-head (to install head plugin) 
 Now enter url in internet browser (e.g firefox) 

To see the output enter following url in address bar
http://localhost:9200/_plugin/head/

sudo ./plugin -install lukas-vlcek/bigdesk (to install bigdesk plugin)

To see the output enter following url in address bar

http://localhost:9200/_plugin/bigdesk/