ES7.2 安裝問題

配置好環境變量ES_HOME:D:\ELK\elasticsearch-7.2.0。ES_TMPDIR:D:\ELK\estmpdir。若是要安裝Logstash還須要配置JDK環境變量.   JAVA_HOME:D:\ELK\elasticsearch-7.2.0\jdkjava

一、配置network.host: 0.0.0.0 後,服務起不來。

查看log,是否報錯

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.yml加上

cluster.initial_master_nodes: ["節點名字"]node

二、indexname必須爲小寫字母elasticsearch

三、報錯:Exception java.lang.SecurityException: Security misconfiguration: cannot access java.io.tmpdiride

解決:elasticsearch.yml配置xpack.ml.enabled: falseui

相關文章
相關標籤/搜索