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 fd57955d..d4e57cbb 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/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`.