Following are simple steps to setup and configured elasticsearch on windows.film Spider-Man: Homecoming 2017 online
- Download elasticsearch – http://www.elasticsearch.org/overview/elkdownloads/
- Change elasticsearch.yml as per your requirement and put it in your custom folder.
- Create batch file named – “ESInstall.bat” on windows command line.
- Add following code into – ESInstall.bat
- Run batch file as ESInstall
@echo off echo Welcome! Installation and Configuration of elasticsearch has been started echo Setting up java environment. SET &quot;JAVA_HOME=c:\Program Files\Java\jdk1.7.0_51&quot; echo Set memory. SET ES_MIN_MEM=1g SET ES_MAX_MEM=1g echo &quot;Copy Elasticsearch Config file, if you have customized&quot; copy elasticsearch.yml elasticsearch-1.0.0\config\ echo &quot;Start Elasticsearch&quot; start /b elasticsearch-1.0.0\bin\elasticsearch echo &quot;Install Head Plugin&quot; elasticsearch-1.0.0\bin\plugin --install mobz/elasticsearch-head echo &quot;Done!&quot;
Run Batch File on command prompt as :
It will setup elasticsearch with head plugin.watch The Mummy movie online now
Note: Please check your java installation path and update in batch file.