How to run Elasticsearch 2.1.1 as root user in Linux machine

前端 未结 6 950
北恋
北恋 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:40

    we need to create a new user in Linux server say user = es and grant sudo chown -R es elasticsearch-6.1.0/ then you can switch 'es' user account and run ./elasticsearch-6.1.0/bin/elasticsearch

提交回复
热议问题