Skip to content

Instantly share code, notes, and snippets.

@sfelde
Created May 31, 2013 10:50
Show Gist options
  • Save sfelde/5684229 to your computer and use it in GitHub Desktop.
Save sfelde/5684229 to your computer and use it in GitHub Desktop.
elasticsearch commands
==> Downloading https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.1.tar.gz
######################################################################## 100,0%
==> Caveats
Data: /usr/local/var/elasticsearch/elasticsearch_sfelde/
Logs: /usr/local/var/log/elasticsearch/elasticsearch_sfelde.log
Plugins: /usr/local/var/lib/elasticsearch/plugins/
To have launchd start elasticsearch at login:
ln -sfv /usr/local/opt/elasticsearch/*.plist ~/Library/LaunchAgents
Then to load elasticsearch now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
Or, if you don't want/need launchctl, you can just run:
elasticsearch -f -D es.config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
==> Summary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment