I installed elasticsearch with a tar.gz package.
I want to run as a service so that es can run automatically when the system reboots.
How should I set it up?
elasticsearch: 7.6
os: centos7
Instead of using rpm, we need a method that runs as a service in the current installation plan.
I have two questions.
First, a bootstrap check fail occurs.
Error: memory locking requested for elasticsearch process but memoty is not locked.
Here is my config.
Which settings should I add?
Second, I changed the path.logs(/data) setting, but gc.log is still logged in /var/ log.
How should I set it so that gc.log can also be written to the changed path(/data)?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.