makotanの勉強日記

勉強したこととか設定系のメモとかそういうのを集めたもの

brewでElasticsearchのインストール記録

単なるメモ

コマンドは

brew install elasticsearch

これだけ。

% brew install elasticsearch ==> Downloading https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.9.tar.gz

################################################################## 100.0%

==> Caveats Data: /usr/local/var/elasticsearch/elasticsearch_makotan/ Logs: /usr/local/var/log/elasticsearch/elasticsearch_makotan.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 /usr/local/Cellar/elasticsearch/0.90.9: 35 files, 19M, built in 15 seconds