Elasticsearchを起動したときに出たエラー
ERROR: [2] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
やったこと
# sysctl -w vm.max_map_count=262144 # vi /etc/security/limits.conf ec2-user - nofile 65536
elasticsearch-head のインストール
git clone git://github.com/mobz/elasticsearch-head.git cd elasticsearch-head npm install npm run start ブラウザから http://localhost:9100/
プラグインのインストール
elasticsearch-plugin install analysis-icu elasticsearch-plugin install analysis-kuromoji