Running Elasticsearch with SysV

Using the chkconfig command, we can configure Elasticsearch to automatically start on each reboot:

sudo chkconfig --add elasticsearch

If we want to start Elasticsearch, we need to run the following command:

sudo -i service elasticsearch start

To stop Elasticsearch, we need to run the following command:

sudo -i service elasticsearch stop
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.212.237