Elasticsearch windows service not work on Nano server -


i trying install es on windows 2016 nano server, works when start es in command line, failed start es windows service, maybe due changes on nano server, have no hint @ why didn't work.

anyone has experience on installing es on nano server?

or can source code of es windows service, elasticsearch-windows-x64.exe? helpful troubleshoot root cause.

i haven't got chance test on nano server 2016, i've installed es 5.1.2 + jdk1.8.0_121 on windows 2016 server core , able start service.

  1. install jdk , set system env setx -m java_home "c:\progra~1\java\jdk1.8.0_121" command. doesn't work user level env variable such using set java_home=xxx.
  2. unzip es c:\elk\elasticsearch
  3. edit elasticsearch.yml config file, config cluster , node names , save it
  4. install es service c:\elk\elasticsearch\bin>elasticsearch-service.bat install
  5. start es service c:\elk\elasticsearch\bin>elasticsearch-service.bat start

reference:


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -