Install elasticsearch on windows.

Following are simple steps to setup and configured elasticsearch on windows.film Spider-Man: Homecoming 2017 online

  1. Download elasticsearch – http://www.elasticsearch.org/overview/elkdownloads/
  2. Change elasticsearch.yml as per your requirement and put it in your custom folder.
  3. Create batch file named – “ESInstall.bat” on windows command line.
  4. Add following code into – ESInstall.bat
  5. Run batch file as ESInstall

ESInstall.BAT

@echo off
echo Welcome! Installation and Configuration of elasticsearch has been started
echo Setting up java environment.
SET "JAVA_HOME=c:\Program Files\Java\jdk1.7.0_51"
echo Set memory.
SET ES_MIN_MEM=1g
SET ES_MAX_MEM=1g
echo "Copy Elasticsearch Config file, if you have customized"
copy elasticsearch.yml elasticsearch-1.0.0\config\
echo "Start Elasticsearch"
start /b elasticsearch-1.0.0\bin\elasticsearch
echo "Install Head Plugin"
elasticsearch-1.0.0\bin\plugin --install mobz/elasticsearch-head
echo "Done!"

Run Batch File on command prompt as :
ESInstall

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.

Categories: Elasticsearch