Created
February 6, 2012 19:43
-
-
Save christianrojas/1754333 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elasticsearchapp|⇒ brew install elasticsearch | |
==> Downloading https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.5.tar.gz | |
######################################################################## 100.0% | |
==> Caveats | |
If this is your first install, automatically load ElasticSearch on login with: | |
mkdir -p ~/Library/LaunchAgents | |
ln -nfs /usr/local/Cellar/elasticsearch/0.18.5/org.elasticsearch.plist ~/Library/LaunchAgents/ | |
launchctl load -wF ~/Library/LaunchAgents/org.elasticsearch.plist | |
If this is an upgrade and you already have the org.elasticsearch.plist loaded: | |
launchctl unload -w ~/Library/LaunchAgents/org.elasticsearch.plist | |
ln -nfs /usr/local/Cellar/elasticsearch/0.18.5/org.elasticsearch.plist ~/Library/LaunchAgents/ | |
launchctl load -wF ~/Library/LaunchAgents/org.elasticsearch.plist | |
To stop the ElasticSearch daemon: | |
launchctl unload -wF ~/Library/LaunchAgents/org.elasticsearch.plist | |
To start ElasticSearch manually: | |
elasticsearch -f -D es.config=/usr/local/Cellar/elasticsearch/0.18.5/config/elasticsearch.yml | |
See the 'elasticsearch.yml' file for configuration options. | |
You'll find the ElasticSearch log here: | |
open /usr/local/var/log/elasticsearch/elasticsearch_christian.log | |
The folder with cluster data is here: | |
open /usr/local/var/elasticsearch/elasticsearch_christian/ | |
You should see ElasticSearch running: | |
open http://localhost:9200/ | |
==> Summary | |
/usr/local/Cellar/elasticsearch/0.18.5: 32 files, 19M, built in 35 seconds | |
elasticsearchapp|⇒ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment