Fix formatting

Signed-off-by: Naarcha-AWS <naarcha@amazon.com>
This commit is contained in:
Naarcha-AWS 2022-05-03 11:53:30 -05:00
parent 6f2b8b90c3
commit 64741ac258
1 changed files with 103 additions and 101 deletions

View File

@ -5,6 +5,8 @@ parent: Install OpenSearch
nav_order: 51 nav_order: 51
--- ---
# RPM
The RPM Package Manager (RPM) installation provides everything you need to run OpenSearch inside Red Hat or CentOS Linux distributions. The RPM Package Manager (RPM) installation provides everything you need to run OpenSearch inside Red Hat or CentOS Linux distributions.
RPM supports CentOS 7 and 8, and Amazon Linux 2. If you have your own Java installation and set `JAVA_HOME` in your terminal application, macOS works, as well. RPM supports CentOS 7 and 8, and Amazon Linux 2. If you have your own Java installation and set `JAVA_HOME` in your terminal application, macOS works, as well.
@ -50,11 +52,11 @@ YUM allows you to pull the RPM package from the YUM repository library.
1. Create a repository file for both OpenSearch and OpenSearch dashboards: 1. Create a repository file for both OpenSearch and OpenSearch dashboards:
```curl ```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-{{site.opensearch_version}}.repo -o /etc/yum.repos.d/{{site.opensearch_version}}.repo
``` ```
```curl ```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-{{site.opensearch_version}}.repo -o /etc/yum.repos.d/{{site.opensearch_version}}.repo
``` ```
@ -72,7 +74,7 @@ YUM allows you to pull the RPM package from the YUM repository library.
4. With the repository file downloaded, list all available versions of OpenSearch: 4. With the repository file downloaded, list all available versions of OpenSearch:
```curl ```bash
sudo yum list | grep opensearch sudo yum list | grep opensearch
``` ```
@ -93,7 +95,7 @@ YUM allows you to pull the RPM package from the YUM repository library.
6. During installation, the installer stops to see if the GPG key matches the OpenSearch project. Verify that the `Fingerprint` matches the following: 6. 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 Fingerprint: c5b7 4989 65ef d1c2 924b a9d5 39d3 1987 9310 d3fc
``` ```
@ -191,7 +193,7 @@ When enabled, the Performance Analyzer plugin collects data related to the perfo
To stop the Performance Analyzer, enter: To stop the Performance Analyzer, enter:
``` ```bash
sudo systemctl stop opensearch-performance-analyzer.service sudo systemctl stop opensearch-performance-analyzer.service
``` ```