Linux 中 elasticsearch启动报错ERROR: [1] bootstrap checks failed。。。

ERROR: [1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured(如果在启动elasticsearch时候提示该错误信息)
进入elasticsearch.yml配置文件修改以下信息就可以了

Linux 中 elasticsearch启动报错ERROR: [1] bootstrap checks failed。。。