-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds windows installation documentation #1825
Conversation
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no issues with this document. Thanks @kolchfa-aws.
Need more approval from @CEHENKLE @bbarani @setiah.
Thanks.
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
After offline talk with @kolchfa-aws we will add instruction on the long path:
Run above in powershell and reboot windows, to enable long path support over 255-260 characters. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimal edits/comments. LGTM.
|
||
There are two ways of running OpenSearch Dashboards: | ||
|
||
1. Run the batch script using the Windows UI: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is Windows UI a proper name? Should UI be defined on first mention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Windows Desktop Environment?
Not really sure how to call it as well, windows does categorize them as desktop vs server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll spell out user interface
_dashboards/install/windows.md
Outdated
|
||
1. Run the batch script from a 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open "the" command prompt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am referring to the application, so I'll capitalize all instances of Command Prompt.
_dashboards/install/windows.md
Outdated
.\bin\opensearch-dashboards.bat | ||
``` | ||
|
||
To stop OpenSearch Dashboards, press `Ctrl+C` in command prompt or Powershell, or simply close the command prompt or Powershell window. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in "the" command prompt?
_opensearch/install/windows.md
Outdated
``` | ||
1. Save the change and close the file. | ||
1. Navigate to the top directory of your OpenSearch install and open the `opensearch-{{site.opensearch_version}}` folder. | ||
1. Run the default by double-clicking the `opensearch-windows-install.bat` file. This opens a command prompt an the OpenSearch instance running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should "with" precede "an"?
_opensearch/install/windows.md
Outdated
1. Open the `opensearch-{{site.opensearch_version}}\config` folder. | ||
1. Open the `jvm.options` file with a text editor. | ||
1. Modify the values for initial and max heap sizes. As a starting point, you should set these values to half of the available system memory. For dedicated hosts this value can be increased based on your workflow requirements.<br> | ||
As an example, if the host machine has 8 GB of memory then you might want to set the initial and maximum heap sizes to 4 GB: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Insert comma after "memory"
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
_dashboards/install/windows.md
Outdated
|
||
1. To extract the archive contents, right-click to select **Extract All**. | ||
|
||
Note: Some versions of the Windows operating system limit the file path length. If you encounter a path length-related error when unzipping the archive, perform the following steps to enable long path support: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you indent 4 times and use the {: .note } tag to put this in that formatting? Or is the note intended to be expressed like this? I think indenting 4x preserves the numbered list.
"path-length related error"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can for this sentence, but it has related steps that follow, and it does not look good when the note is in the note format, and the steps are not... I can also make it 2 different notes, but that's an even more awkward-looking syntax.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will bold the word "note"
_dashboards/install/windows.md
Outdated
1. Run the batch script using the Windows user interface: | ||
|
||
1. Navigate to the top directory of your OpenSearch Dashboards install and open the `opensearch-dashboards-{{site.opensearch_version}}` folder. | ||
1. If desired, modify `opensearch_dashboards.yml` located in the `config` folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this to set general preferences for Dashboards? Tag on three or four words explaining this?
|
||
Follow the steps below to install OpenSearch Dashboards on Windows. | ||
|
||
Make sure you have a zip utility installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You make this a prerequisite for OpenSearch installation. What do you think of changing this to a note instead of tip?
_opensearch/install/windows.md
Outdated
1. Specify the location of the included JDK. | ||
1. In the search box next to **Start** on the taskbar, enter `edit environment variables for your account` or `edit the system environment variables`. To edit the system environment variables, you need admin rights. User environment variables take precedence over system environment variables. | ||
1. Select **Edit environment variables for your account** or **Edit the system environment variables**. | ||
1. If the **System Properties** dialog comes up, in the **Advanced** tab, select **Environment Variables**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the System Properties dialog opens, got to the Advanced tab and select Environment Variables.
Read better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thing is - it opens already on the Advanced tab, so all you do is select EV. Will reword.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LVVGTM
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kolchfa-aws Please see my comments and changes and let me know if you have any questions. Thanks!
|
||
Follow the steps below to install OpenSearch Dashboards on Windows. | ||
|
||
Make sure you have a zip utility installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"ZIP"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally, zip is not capitalized.
_dashboards/install/windows.md
Outdated
|
||
# Run OpenSearch Dashboards on Windows | ||
|
||
Follow the steps below to install OpenSearch Dashboards on Windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow the steps below to install OpenSearch Dashboards on Windows. | |
Perform the following steps to install OpenSearch Dashboards on Windows. |
_dashboards/install/windows.md
Outdated
|
||
There are two ways of running OpenSearch Dashboards: | ||
|
||
1. Run the batch script using the Windows user interface: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Run the batch script using the Windows user interface: | |
1. Run the batch script using the Windows UI: |
_dashboards/install/windows.md
Outdated
|
||
1. Run the batch script using the Windows user interface: | ||
|
||
1. Navigate to the top directory of your OpenSearch Dashboards install and open the `opensearch-dashboards-{{site.opensearch_version}}` folder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Navigate to the top directory of your OpenSearch Dashboards install and open the `opensearch-dashboards-{{site.opensearch_version}}` folder. | |
1. Navigate to the top directory of your OpenSearch Dashboards installation and open the `opensearch-dashboards-{{site.opensearch_version}}` folder. |
_dashboards/install/windows.md
Outdated
1. Run the batch script using the Windows user interface: | ||
|
||
1. Navigate to the top directory of your OpenSearch Dashboards install and open the `opensearch-dashboards-{{site.opensearch_version}}` folder. | ||
1. If desired, modify `opensearch_dashboards.yml` located in the `config` folder to change the default OpenSearch Dasbhoards settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. If desired, modify `opensearch_dashboards.yml` located in the `config` folder to change the default OpenSearch Dasbhoards settings. | |
1. If desired, modify `opensearch_dashboards.yml`, located in the `config` folder, to change the default OpenSearch Dashboards settings. |
_opensearch/install/windows.md
Outdated
1. Navigate to the top directory of your OpenSearch install and open the `opensearch-{{site.opensearch_version}}` folder. | ||
1. Run the default by double-clicking the `opensearch-windows-install.bat` file. This opens a command prompt with an OpenSearch instance running. | ||
1. Open a new command prompt and send requests to the server to verify that OpenSearch is running. Because the security plugin has been disabled, you will be sending commands using `HTTP` rather than `HTTPS`. | ||
- Send a request to port 9200. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this end in a colon?
_opensearch/install/windows.md
Outdated
"tagline" : "The OpenSearch Project: https://opensearch.org/" | ||
} | ||
``` | ||
- Query the plugins endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this end in a colon?
_opensearch/install/windows.md
Outdated
hostname opensearch-sql 2.4.0.0 | ||
``` | ||
|
||
To stop OpenSearch, press `Ctrl+C` in command prompt or Powershell, or simply close the command prompt or Powershell window. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To stop OpenSearch, press `Ctrl+C` in command prompt or Powershell, or simply close the command prompt or Powershell window. | |
To stop OpenSearch, press `Ctrl+C` in Command Prompt or Powershell, or simply close the Command Prompt or Powershell window. |
_opensearch/install/windows.md
Outdated
|
||
1. Open the `opensearch-{{site.opensearch_version}}\config` folder. | ||
1. Open the `opensearch.yml` file with a text editor. | ||
1. Add the following lines. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this end in a colon?
1. Open the `opensearch-{{site.opensearch_version}}\config` folder. | ||
1. Open the `jvm.options` file with a text editor. | ||
1. Modify the values for initial and max heap sizes. As a starting point, you should set these values to half of the available system memory. For dedicated hosts this value can be increased based on your workflow requirements.<br> | ||
As an example, if the host machine has 8 GB of memory, then you might want to set the initial and maximum heap sizes to 4 GB: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use "maximum" here but have used "max" in all previous instances. Please make consistent.
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
* Adds windows installation documentation Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added the link to download the windows distribution Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added windows server 2109 as a platform Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Adds Windows installation documentation Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Updated responses Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Updated responses Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added curl.exe Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added steps to set environment variables Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added statement about long path and doc review Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Incorporated doc review comments Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Implemented editorial feedback Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> (cherry picked from commit bf4ad6b)
* Adds windows installation documentation Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added the link to download the windows distribution Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added windows server 2109 as a platform Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Adds Windows installation documentation Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Updated responses Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Updated responses Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added curl.exe Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added steps to set environment variables Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added statement about long path and doc review Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Incorporated doc review comments Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Implemented editorial feedback Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> (cherry picked from commit bf4ad6b) Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
Fixes #1721
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.