mac elasticsearch 5.4.0 設定

いつもlinuxrpmで入れるから知らなかった

elasticsearch-5.4.0/config/jvm.options

[code lang=text] -Xms10g -Xmx10g [/code]

とか設定する

elasticsearch-5.4.0/config/elasticsearch.yml

[code lang=text]

---------------------------------- Network -----------------------------------

#

Set the bind address to a specific IP (IPv4 or IPv6):

#

network.host: 192.168.0.1

network.host: 0.0.0.0 [/code]

0.0.0.0にすることで全許可 他macからデータを入れれるようにする

あとは普通に ./bin/elasticsearch で起動させる