Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 805 Bytes

ElasticSearch.md

File metadata and controls

33 lines (23 loc) · 805 Bytes

ElasticSearch

Install the binaries using homebrew:

$ brew install ElasticSearch

If this is your first install, automatically load ElasticSearch on login with:

$ mkdir -p ~/Library/LaunchAgents
$ ln -nfs /usr/local/Cellar/elasticsearch/0.19.10/homebrew.mxcl.elasticsearch.plist ~/Library/LaunchAgents/
$ launchctl load -wF ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist

To stop the ElasticSearch daemon:

$ launchctl unload -wF ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist

To start ElasticSearch manually:

$ elasticsearch -f -D es.config=/usr/local/Cellar/elasticsearch/0.19.10/config/elasticsearch.yml

You should see ElasticSearch running:

$ open http://localhost:9200/