-
Notifications
You must be signed in to change notification settings - Fork 503
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
Add missing OPENSEARCH_INITIAL_ADMIN_PASSWORD for both apt/deb and yum/rpm #7079
Merged
+51
−23
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3a4ff09
Add missing OPENSEARCH_INITIAL_ADMIN_PASSWORD for apt install on deb…
drewmiranda-gl 0ae9058
More update on deb and rpm installation steps on 2.12 security changes
peterzhuamazon d56ce2b
Merge remote-tracking branch 'upstream/main' into patch-1
peterzhuamazon 64baec6
Move 2.12 top
peterzhuamazon 6d40678
fix formatting
peterzhuamazon 26f752b
More tweaks
peterzhuamazon 58f811e
More tweaks 2
peterzhuamazon cad5372
Merge remote-tracking branch 'upstream/main' into patch-1
peterzhuamazon 76c9202
Update _install-and-configure/install-opensearch/debian.md
peterzhuamazon 78192a6
Update _install-and-configure/install-opensearch/debian.md
peterzhuamazon d20690b
Update _install-and-configure/install-opensearch/debian.md
peterzhuamazon eda32b2
Update _install-and-configure/install-opensearch/debian.md
peterzhuamazon 28778da
Update _install-and-configure/install-opensearch/debian.md
peterzhuamazon 38e115b
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon 8bed3ea
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon 4624174
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon 0d29e01
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon 279b489
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon 63a6855
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon e7a073a
Update _install-and-configure/install-opensearch/rpm.md
peterzhuamazon 35e85b5
Add more things
peterzhuamazon ae139f2
Add more things
peterzhuamazon e703f22
Update _install-and-configure/install-opensearch/debian.md
peterzhuamazon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,36 +44,37 @@ This guide assumes that you are comfortable working from the Linux command line | |
``` | ||
{% include copy.html %} | ||
|
||
1. For OpenSearch 2.12 and greater, a custom admin password is required in order to set up a security demo configuration. To set a custom admin password, use one the following commands: | ||
1. From the CLI, you can install the package with `rpm` or `yum`: | ||
|
||
```bash | ||
# Install the x64 package using yum. | ||
# For new installations of OpenSearch 2.12 and later, you must define a custom admin password in order to set up a demo security configuration. | ||
# Use one of the following commands to define a custom admin password: | ||
|
||
## Install the x64 package using yum. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here and below, should "rpm" and "yum" be in code font, as above? |
||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
|
||
# Install the x64 package using rpm. | ||
## Install the x64 package using rpm. | ||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
|
||
# Install the arm64 package using yum. | ||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
## Install the arm64 package using yum. | ||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-arm64.rpm | ||
|
||
# Install the arm64 package using rpm. | ||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
``` | ||
## Install the arm64 package using rpm. | ||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-arm64.rpm | ||
|
||
1. From the CLI, you can install the package with `rpm` or `yum`. | ||
# Use the following command for OpenSearch versions 2.11 and earlier: | ||
|
||
```bash | ||
# Install the x64 package using yum. | ||
## Install the x64 package using yum. | ||
sudo yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
|
||
# Install the x64 package using rpm. | ||
## Install the x64 package using rpm. | ||
sudo rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
|
||
# Install the arm64 package using yum. | ||
sudo yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
## Install the arm64 package using yum. | ||
sudo yum install opensearch-{{site.opensearch_version}}-linux-arm64.rpm | ||
|
||
# Install the arm64 package using rpm. | ||
sudo rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm | ||
## Install the arm64 package using rpm. | ||
sudo rpm -ivh opensearch-{{site.opensearch_version}}-linux-arm64.rpm | ||
``` | ||
|
||
1. After the installation succeeds, enable OpenSearch as a service. | ||
|
@@ -125,15 +126,27 @@ YUM, the primary package management tool for Red Hat–based operating systems, | |
``` | ||
{% include copy.html %} | ||
|
||
1. Choose the version of OpenSearch you want to install: | ||
1. Choose the version of OpenSearch you want to install: | ||
- Unless otherwise indicated, the latest available version of OpenSearch is installed. | ||
|
||
```bash | ||
# For OpenSearch versions 2.12 and later, a custom admin password is required in order to set up a demo security configuration for a new installation. | ||
# To set a custom admin password, use the following commands: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should "command" be singular? |
||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch | ||
|
||
# Use the following command for OpenSearch versions 2.11 and earlier: | ||
sudo yum install opensearch | ||
``` | ||
{% include copy.html %} | ||
|
||
- To install a specific version of OpenSearch: | ||
|
||
```bash | ||
# For OpenSearch versions 2.12 and later, a custom admin password is required in order to set up a demo security configuration for a new installation. | ||
# To set a custom admin password, use the following commands: | ||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install 'opensearch-{{site.opensearch_version}}' | ||
|
||
# Use the following command for OpenSearch versions 2.11 and earlier: | ||
sudo yum install 'opensearch-{{site.opensearch_version}}' | ||
``` | ||
{% include copy.html %} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Global: Please confirm proper formatting (Should there be so many
#
in the examples?).