|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +title: Windows (Alpha) |
| 4 | +parent: Install and Configure |
| 5 | +nav_order: 6 |
| 6 | +--- |
| 7 | + |
| 8 | +# Windows |
| 9 | + |
| 10 | +Like the [tarball installation](../tar/), we only recommend the Windows installation of Open Distro for Elasticsearch for testing and development purposes. The install package is an alpha, and we only test on Windows 10 and Windows Server 2019. |
| 11 | + |
| 12 | +As an alternative, we recommend [Ubuntu for Windows 10](https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6), which you can use to install [Debian packages](../deb/). |
| 13 | +{: .tip } |
| 14 | + |
| 15 | + |
| 16 | +## ZIP install |
| 17 | + |
| 18 | +1. Download [the ZIP file](https://d3g5vo6xdbdb9a.cloudfront.net/downloads/odfe-windows/ode-windows-zip/odfe-1.3.0.zip). |
| 19 | + |
| 20 | +1. Extract the file to a directory, and open that directory at the command prompt. |
| 21 | + |
| 22 | +1. Run Open Distro for Elasticsearch: |
| 23 | + |
| 24 | + ``` |
| 25 | + .\bin\elasticsearch.bat |
| 26 | + ``` |
| 27 | + |
| 28 | + |
| 29 | +## EXE install |
| 30 | + |
| 31 | +1. Install Java 11. |
| 32 | + |
| 33 | +1. Download [the EXE file](https://d3g5vo6xdbdb9a.cloudfront.net/downloads/odfe-windows/odfe-executables/Open_Distro_for_Elasticsearch_windows-x64_1.3.0.exe), run it, and click through the steps. |
| 34 | + |
| 35 | +1. Open the command prompt and navigate to the Open Distro for Elasticsearch install directory: |
| 36 | + |
| 37 | +1. Run Open Distro for Elasticsearch: |
| 38 | + |
| 39 | + ``` |
| 40 | + .\bin\elasticsearch.bat |
| 41 | + ``` |
| 42 | + |
| 43 | + |
| 44 | +## Verify the install |
| 45 | + |
| 46 | +After you start Open Distro for Elasticsearch, open a second command prompt window. Then send requests to the server to verify that it is up and running: |
| 47 | + |
| 48 | +``` |
| 49 | +curl -XGET https://localhost:9200 -u admin:admin --insecure |
| 50 | +curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure |
| 51 | +``` |
| 52 | + |
| 53 | +You must have [curl](https://curl.haxx.se/windows/) installed for these commands to work. Alternatives include [Invoke-RestMethod](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-6) (only PowerShell 6 and later support the `-SkipCertificateCheck` flag) and [Postman](https://www.getpostman.com/downloads/). |
| 54 | + |
| 55 | + |
| 56 | +## Configuration |
| 57 | + |
| 58 | +You can modify `config\elasticsearch.yml` or specify environment variables as arguments using `-E`: |
| 59 | + |
| 60 | +``` |
| 61 | +.\bin\elasticsearch.bat -Ecluster.name=odfe-cluster -Enode.name=odfe-node1 -Ehttp.host=0.0.0.0 -Ediscovery.type=single-node |
| 62 | +``` |
| 63 | + |
| 64 | +For other settings, see [Important settings](../docker/#important-settings). |
0 commit comments