Installing ES on Windows

install/update latest version of www.java.com (JDK)
See my post about Tika for how to do this

http://www.elasticsearch.org/overview/elkdownloads/
https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.5.2.zip

Extract then start .bin file
C:\Users\STUART\Documents\Dundee\2015\ElasticSearch\elasticsearch-1.5.2\bin

Set up a Windows service

Windows users can configure Elasticsearch to run as a service to run in the background or start automatically at startup without any user interaction. This can be achieved through service.bat script under bin/ folder which allows one to install, remove, manage or configure the service and potentially start and stop the service, all from the command-line.

servicedotbat

run service.bat manager
Change General to automatic

manager



Installing MARVEL, which comes with an interactive console ‘sense’, which makes it easy to talk to ES directly from a browser.

Marvel is available as a plugin

Turn off monitoring of your local cluster
echo ‘marvel.agent.enabled: false’ >> .config/elasticsearch.yml

Running ES
./bin/elasticsearch
./bin/elasticsearch -d to run in background as a daemon

Test it out
curl ‘http://localhost:9200/?pretty’

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s