Merge pull request #555 from opensearch-project/rpm-2.0.0-rc1

Fix YUM RPM install link
This commit is contained in:
Naarcha-AWS 2022-05-05 11:24:24 -05:00 committed by GitHub
commit c8c3d36f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 56 additions and 2 deletions

View File

@ -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
```

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-{{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/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`.