1
开启elasticsearch之前一定要关闭防火墙
开启elasticsearch之前一定要关闭防火墙
开启elasticsearch之前一定要关闭防火墙
开启elasticsearch之前一定要关闭防火墙
以用户权限运行elasticsearch
[root@localhost bin]# service iptables stop
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
[root@localhost bin]# su nc
[nc@localhost bin]$ ./elasticsearch
成功标志
http://192.168.63.131:9200/
{
"name" : "ZV80nzs",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "6VVJi5qQTM6n3GsB8ooGrQ",
"version" : {
"number" : "6.3.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "424e937",
"build_date" : "2018-06-11T23:38:03.357887Z",
"build_snapshot" : false,
"lucene_version" : "7.3.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
2,x-pack
Caused by: org.elasticsearch.ElasticsearchException: X-Pack is not supported and
Machine Learning is not available for [linux-x86];
you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false
in elasticsearch.yml
在配置文件elasticsearch.yml末尾添加xpack.ml.enabled: false
# ---------------------------------- Various -----------------------------------
#
# Require explicit names when deleting indices:
#
#action.destructive_requires_name: true
bootstrap.system_call_filter: false
xpack.ml.enabled: false
2
本文记录了在运行Elasticsearch时遇到的问题,包括以用户权限执行以及x-pack的配置细节,确保成功标志的出现。
1521

被折叠的 条评论
为什么被折叠?



