From 46c32e96c6c07bc2ab526f35a8bf5226e417f0e8 Mon Sep 17 00:00:00 2001 From: Naarcha-AWS Date: Thu, 2 Jun 2022 10:15:44 -0500 Subject: [PATCH 1/2] Fix RPM link to say 2.x instead of var Signed-off-by: Naarcha-AWS --- _opensearch/install/rpm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_opensearch/install/rpm.md b/_opensearch/install/rpm.md index fd57955d..3c772eef 100644 --- a/_opensearch/install/rpm.md +++ b/_opensearch/install/rpm.md @@ -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-{{site.opensearch_version}}.repo -o /etc/yum.repos.d/{{site.opensearch_version}}.repo + sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -o /etc/yum.repos.d/2.x.repo ``` ```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 + sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/2.x.repo ``` To verify that the repos appear in your repo list, use `sudo yum repolist`. From 8acf93b9d5f1063f1154a82e67dcaf1cfa19d41b Mon Sep 17 00:00:00 2001 From: Naarcha-AWS Date: Mon, 6 Jun 2022 07:37:48 -0500 Subject: [PATCH 2/2] Fix RPM command Signed-off-by: Naarcha-AWS --- _opensearch/install/rpm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_opensearch/install/rpm.md b/_opensearch/install/rpm.md index 3c772eef..97609146 100644 --- a/_opensearch/install/rpm.md +++ b/_opensearch/install/rpm.md @@ -150,7 +150,7 @@ You can upgrade your RPM OpenSearch instance both manually and through YUM. ### Manual -Download the new version of OpenSearch you want to use, and then use `rmp -Uvh` to upgrade. +Download the new version of OpenSearch you want to use, and then use `rpm -Uvh` to upgrade. ### YUM