forked from jdzurik/ElasticSearch-WindowsInstaller
-
Notifications
You must be signed in to change notification settings - Fork 0
slimflem/ESWindowsInstaller
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a windows service installer and basic settings tool for ElasticSearch on windows. This creates a windows installer program to install the windows service that uses the java command line that would normally be created by elasticsearch.bat When starting the service it runs the command line and sends the output to a log file. The installer will not automatically start the service. I recommend using the setup tool before you start the service. The windows forms setup tool is for configuring environmental variables, creating log directories, setting permissions, opening firewall ports and starting/stopping the windows service. Prerequisite: .net Framework 4 Java Install process 1. Download http://www.elasticsearch.org/download/ and Extract ElasticSearch into a directory on your system. 2. Take the ESWindowsInstaller/ElasticsearchServiceSetup/Release/ElasticsearchServiceSetup.msi from the output install it. 3. Start > All Programs > Elasticsearch Setup > Setup Elasticsearch Node (Shift + Right click and run as administrator … Note this is important for it to work) From there you can: Settings tab: Set your environment variables JAVA_HOME, ES_HOME, ES_MIN_MEM, ES_MAX_MEM (These work for the .bat as well) Save your variables … This will create a directory under ES_HOME for the service log files and give permissions to “NETWORK SERVICE” (This is the same account used for the windows service you can changes this as needed) on ES_HOME. Config tab: Use the load config button to load the config and edit it. Under the Yaml tab you can check the settings in an abbreviated format. Firewall tab: You can optionally open firewall ports 54328 UDP, and TCP HTTP 9200-9300 and Transport 9300-9400 from the “Open Firewall Ports” button. If you would like to lock down the ports to only specific remote ip addresses or subnets then enter the ip's in the box to the left. Service tab: From her you can start and stop the windows service. Log tab: This uses the cluster.name you set in your config or defaults to Elasticsearch.log. You can only load it when the service is not running right now. There are things that I would have added like config file for the service so you can change the options without recompiling but, "ain't nobody got time for that". Any way this should make it easier to set up and install ElasticSearch on a windows server or PC. Hope this helps someone.
About
Elasticsearch Windows Service Installer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published