Skip to content

Commit

Permalink
Merge branch 'main' into drop-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
vagimeli authored Feb 28, 2024
2 parents fb049e8 + 694e379 commit a3650f6
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions _install-and-configure/install-opensearch/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,23 @@ An OpenSearch node in its default configuration (with demo certificates and user

### Option 1: Test your OpenSearch settings with security enabled

1. Run the demo batch script.
1. Run the demo batch script from Command prompt or Powershell.

There are two ways of running the batch script:

1. Run the batch script using the Windows UI:

1. Navigate to the top directory of your OpenSearch installation and open the `opensearch-{{site.opensearch_version}}` folder.
1. Run the batch script by double-clicking the `opensearch-windows-install.bat` file. This opens a command prompt with an OpenSearch instance running.

1. Run the batch script from Command prompt or Powershell:

1. Open Command Prompt by entering `cmd`, or Powershell by entering `powershell`, in the search box next to **Start** on the taskbar.
1. Open Command Prompt by entering `cmd` or Powershell by entering `powershell` in the search box next to **Start** on the taskbar.
1. Change to the top directory of your OpenSearch installation.
```bat
cd \path\to\opensearch-{{site.opensearch_version}}
```
{% include copy.html %}
1. Run the batch script.
For OpenSearch 2.12 or later, use the following command to specify a custom admin password:
```bat
.\opensearch-windows-install.bat
> set OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password>
```
{% include copy.html %}
For OpenSearch 2.12 or greater, set a new custom admin password before installation using the following command:
```bat
> set OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password>
.\opensearch-windows-install.bat
```
{% include copy.html %}
Expand Down

0 comments on commit a3650f6

Please sign in to comment.