How to install Elasticsearch as a Service?
Issue Description: How to install Elasticsearch as a Windows Service?
Steps:
- Open command prompt. Navigate to the bin folder of Elasticsearch installation.
- Run the command - elasticsearch-service.bat install
- The following screen print should appear confirming us with the service installation:
- Next, start Elasticsearch as a service. When Elasticsearch starts, authentication is enabled by default:
- Command : C:\elasticsearch-8.9.0\bin>bin\elasticsearch-service.bat start
- The following window depicts a successful start of the Elastic search service: