How to run Elasticsearch 2.1.1 as root user in Linux machine

前端 未结 6 916
北恋
北恋 2020-12-29 23:55

I am trying to run Elasticsearch 2.1.1 in my Linux machine which I am the root user of it.

When I tried to execute the Elasticsearch.I am getting the following error

6条回答
  •  攒了一身酷
    2020-12-30 00:58

    Based of the following code-snippet looks like you should be able to achieve this by enabling property es.insecure.allow.root

    Example :

    bin/elasticsearch -Des.insecure.allow.root=true
    

提交回复
热议问题