Skip to content

Instantly share code, notes, and snippets.

@adamnengland
Created November 29, 2012 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamnengland/4171629 to your computer and use it in GitHub Desktop.
Save adamnengland/4171629 to your computer and use it in GitHub Desktop.
Setting Up ElasticSearch & MongoDb River on OS X
brew install elasticsearch
mkdir -p ~/Library/LaunchAgents
ln -nfs /usr/local/Cellar/elasticsearch/0.19.11/homebrew.mxcl.elasticsearch.plist ~/Library/LaunchAgents/
launchctl load -wF ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
cd /usr/local/Cellar/elasticsearch/0.19.11/bin
plugin -install richardwilly98/elasticsearch-river-mongodb
To stop the ElasticSearch daemon:
launchctl unload -wF ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
To start the ElasticSearch daemon:
launchctl load -wF ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
Log
tail -n /usr/local/var/log/elasticsearch/elasticsearch_adamengland.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment