Make sure 2.x yum installation match 1.x naming patterns (#780)

* Make sure 2.x yum installation match 1.x naming patterns

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Tweak a bit

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Tweak a bit

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
This commit is contained in:
Peter Zhu 2022-07-07 14:04:07 -04:00 committed by GitHub
parent bda7ffdfe3
commit e12c1a2867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,11 +59,11 @@ YUM, an RPM package management tool, allows you to pull the RPM package from the
1. Create a repository file for both OpenSearch and OpenSearch Dashboards:
```bash
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -o /etc/yum.repos.d/2.x.repo
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -o /etc/yum.repos.d/opensearch-2.x.repo
```
```bash
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/dashboards.2.x.repo
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/opensearch-dashboards-2.x.repo
```
To verify that the repos appear in your repo list, use `sudo yum repolist`.
@ -74,10 +74,11 @@ YUM, an RPM package management tool, allows you to pull the RPM package from the
sudo yum clean all
```
3. With the repository file downloaded, list all available versions of OpenSearch:
3. With the repository file downloaded, list all available versions of OpenSearch and OpenSearch-Dashboards:
```bash
sudo yum list | grep opensearch
sudo yum list opensearch --showduplicates
sudo yum list opensearch-dashboards --showduplicates
```
4. Choose the version of OpenSearch you want to install: