Elasticsearch installation and startup

The latest version of Elasticsearch is 5.4, link address: https://www.elastic.co/downloads/elasticsearch

It is recommended to download the zip package and unzip it directly.

xxx@localhost program]$ unzip elasticsearch-5.4.1.zip

$  cd elasticsearch-5.4.1/bin

start up

$  ./elasticsearch

 

[2017-06-20T23:43:11,651][WARN ][o.e.b.JNANatives         ] unable to install syscall filter:
java.lang.UnsupportedOperationException: seccomp unavailable: CONFIG_SECCOMP not compiled into kernel, CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER are needed

 You may see the above warning message, don't worry, using the latest linux will not report this problem

 

[2017-06-20T23:43:18,595][INFO ][o.e.c.s.ClusterService   ] [5QlPD77] new_master {5QlPD77}{5QlPD77bQVSVIoe1_OLo5A}{HymcpTCSQqm-BQmRtLTTTA}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2017-06-20T23:43:18,623][INFO ][o.e.h.n.Netty4HttpServerTransport] [5QlPD77] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
[2017-06-20T23:43:18,626][INFO ][o.e.n.Node               ] [5QlPD77] started

 Seeing this log means that the startup was successful, and you can also view it through jps

4857 Elasticsearch
4879 Jps
indicates that the startup is successful

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326394827&siteId=291194637