More review feedback

Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
This commit is contained in:
Naarcha-AWS 2022-05-03 13:37:36 -05:00
parent 3b6e10533b
commit a6cc676cad
1 changed files with 21 additions and 13 deletions

View File

@ -16,7 +16,7 @@ There are two methods for installing OpenSearch on RPM:
## Manual method
1. Download the RPM package directly from the [OpenSearch downloads page](https://opensearch.org/downloads.html){:target='\_blank'}.
1. Download the RPM package directly from the [OpenSearch downloads page](https://opensearch.org/downloads.html){:target='\_blank'}. The RPM package can be download both as `x64` and `arm64`.
2. Import the public GPG key. This key verifies that the your OpenSearch instance is signed.
@ -26,6 +26,8 @@ There are two methods for installing OpenSearch on RPM:
3. On your host, use `sudo yum install` or `sudo rpm -ivh` to install the package.
**x64**
```bash
sudo yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
sudo yum install opensearch-dashboards-{{site.opensearch_version}}-linux-x64.rpm
@ -36,6 +38,18 @@ There are two methods for installing OpenSearch on RPM:
sudo rpm -ivh opensearch-dashboards-{{site.opensearch_version}}-linux-x64.rpm
```
**arm64**
```bash
sudo yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
sudo yum install opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.rpm
```
```bash
sudo rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm
sudo rpm -ivh opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.rpm
```
Once complete, you can run OpenSearch inside your distribution.
## YUM method
@ -51,26 +65,22 @@ YUM allows you to pull the RPM package from the YUM repository library.
```bash
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/{{site.opensearch_version}}/opensearch-dashboards-{{site.opensearch_version}}.repo -o /etc/yum.repos.d/{{site.opensearch_version}}.repo
```
To verify that the repos appear in your repo list, use `sudo yum repolist`.
2. Navigate to your YUM repository directory:
```bash
cd /etc/yum.repos.d/
```
3. Clean your YUM cache, to ensure a smooth installation:
2. Clean your YUM cache, to ensure a smooth installation:
```bash
sudo yum clean all
```
4. With the repository file downloaded, list all available versions of OpenSearch:
3. With the repository file downloaded, list all available versions of OpenSearch:
```bash
sudo yum list | grep opensearch
```
5. Chose the version of OpenSearch you want to install:
4. Chose the version of OpenSearch you want to install:
```bash
sudo yum install opensearch
@ -85,7 +95,7 @@ YUM allows you to pull the RPM package from the YUM repository library.
sudo yum install 'opensearch-{{site.opensearch_version}}'
```
6. During installation, the installer stops to see if the GPG key matches the OpenSearch project. Verify that the `Fingerprint` matches the following:
5. During installation, the installer stops to see if the GPG key matches the OpenSearch project. Verify that the `Fingerprint` matches the following:
```bash
Fingerprint: c5b7 4989 65ef d1c2 924b a9d5 39d3 1987 9310 d3fc
@ -104,8 +114,6 @@ YUM allows you to pull the RPM package from the YUM repository library.
sudo systemctl start opensearch-dashboards.service
```
If you configure the security plugin for production use (or disable it), you can run OpenSearch using `./bin/opensearch`.
2. Send requests to the server to verify that OpenSearch is running:
```bash