From 6145ae10b1576020031fd8d2f60f26fa25c50c9e Mon Sep 17 00:00:00 2001 From: Naarcha-AWS Date: Thu, 5 May 2022 09:39:42 -0500 Subject: [PATCH 1/2] Fix YUM RPM install link 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..333768e7 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/{{site.opensearch_version}}.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/{{site.opensearch_version}}/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/{{site.opensearch_version}}.repo ``` To verify that the repos appear in your repo list, use `sudo yum repolist`. From 8f332383684945d445f65a84072c4671776d37a5 Mon Sep 17 00:00:00 2001 From: Naarcha-AWS Date: Thu, 5 May 2022 09:53:00 -0500 Subject: [PATCH 2/2] Add RPM install instructions for Dashboards Signed-off-by: Naarcha-AWS --- _dashboards/install/rpm.md | 54 ++++++++++++++++++++++++++++++++++++++ _opensearch/install/rpm.md | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 _dashboards/install/rpm.md diff --git a/_dashboards/install/rpm.md b/_dashboards/install/rpm.md new file mode 100644 index 00000000..8fa14f2b --- /dev/null +++ b/_dashboards/install/rpm.md @@ -0,0 +1,54 @@ +--- +layout: default +title: RPM +parent: Install OpenSearch Dashboards +nav_order: 31 +--- + +# Run OpenSearch Dashboards using RPM + +1. Create a repository file for OpenSearch Dashboards: + + ```bash + sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/{{site.opensearch_version}}.repo + ``` + +2. Clean your YUM cache, to ensure a smooth installation: + + ```bash + sudo yum clean all + ``` + +3. With the repository file downloaded, list all available versions of OpenSearch: + + ```bash + sudo yum list | grep opensearch-dashboards + ``` + +4. Choose the version of OpenSearch Dashboards you want to install: + + ```bash + sudo yum install opensearch-dashboards + ``` + + Unless otherwise indicated, the highest minor version of OpenSearch Dashboards installs. + +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 + ``` + + If correct, enter `yes` or `y`. The OpenSearch Dashboards installation continues. + +6. Run OpenSearch Dashboards using `systemctl`. + + ```bash + sudo systemctl start opensearch-dashboards.service + ``` + +7. To stop running OpenSearch Dashboards, enter + + ```bash + sudo systemctl stop opensearch-dashboards.service + ``` diff --git a/_opensearch/install/rpm.md b/_opensearch/install/rpm.md index 333768e7..d4e57cbb 100644 --- a/_opensearch/install/rpm.md +++ b/_opensearch/install/rpm.md @@ -63,7 +63,7 @@ YUM, an RPM package management tool, allows you to pull the RPM package from the ``` ```bash - sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/{{site.opensearch_version}}/opensearch-dashboards-2.x.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/{{site.opensearch_version}}.repo ``` To verify that the repos appear in your repo list, use `sudo yum repolist`.