Update rpm.md (#6487)
* Update rpm.md Fixed code blocking Signed-off-by: William Trelawny <22324745+williamtrelawny@users.noreply.github.com> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> * Update rpm.md Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> --------- Signed-off-by: William Trelawny <22324745+williamtrelawny@users.noreply.github.com> Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
parent
f78f232d83
commit
bb662c9557
|
@ -38,12 +38,30 @@ This guide assumes that you are comfortable working from the Linux command line
|
|||
|
||||
1. Download the RPM package for the desired version directly from the [OpenSearch downloads page](https://opensearch.org/downloads.html){:target='\_blank'}. The RPM package can be downloaded for both **x64** and **arm64** architectures.
|
||||
1. Import the public GNU Privacy Guard (GPG) key. This key verifies that your OpenSearch instance is signed.
|
||||
|
||||
```bash
|
||||
sudo rpm --import https://artifacts.opensearch.org/publickeys/opensearch.pgp
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
1. For OpenSearch 2.12 and greater, a custom admin password is required in order to set up a security demo configuration. To set a custom admin password, use one the following commands:
|
||||
|
||||
```bash
|
||||
# Install the x64 package using yum.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
||||
# Install the x64 package using rpm.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
||||
# Install the arm64 package using yum.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
||||
# Install the arm64 package using rpm.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
```
|
||||
|
||||
1. From the CLI, you can install the package with `rpm` or `yum`.
|
||||
|
||||
```bash
|
||||
# Install the x64 package using yum.
|
||||
sudo yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
@ -57,36 +75,27 @@ This guide assumes that you are comfortable working from the Linux command line
|
|||
# Install the arm64 package using rpm.
|
||||
sudo rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
```
|
||||
For OpenSearch 2.12 and greater, a custom admin password is required in order to set up a security demo configuration. To set a custom admin password, use one the following commands:
|
||||
```bash
|
||||
# Install the x64 package using yum.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
||||
# Install the x64 package using rpm.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
||||
# Install the arm64 package using yum.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> yum install opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
|
||||
# Install the arm64 package using rpm.
|
||||
sudo env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> rpm -ivh opensearch-{{site.opensearch_version}}-linux-x64.rpm
|
||||
1. After the installation succeeds, enable OpenSearch as a service.
|
||||
```bash
|
||||
sudo systemctl enable opensearch
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
```bash
|
||||
sudo systemctl enable opensearch
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
1. Start OpenSearch.
|
||||
```bash
|
||||
sudo systemctl start opensearch
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
1. Verify that OpenSearch launched correctly.
|
||||
```bash
|
||||
sudo systemctl status opensearch
|
||||
```
|
||||
{% include copy.html %}
|
||||
```bash
|
||||
sudo systemctl start opensearch
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
1. Verify that OpenSearch launched correctly:
|
||||
|
||||
```bash
|
||||
sudo systemctl status opensearch
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
### Install OpenSearch from a YUM repository
|
||||
|
||||
|
@ -518,4 +527,4 @@ sudo yum update
|
|||
- [OpenSearch configuration]({{site.url}}{{site.baseurl}}/install-and-configure/configuring-opensearch/)
|
||||
- [Install and configure OpenSearch Dashboards]({{site.url}}{{site.baseurl}}/install-and-configure/install-dashboards/index/)
|
||||
- [OpenSearch plugin installation]({{site.url}}{{site.baseurl}}/opensearch/install/plugins/)
|
||||
- [About the Security plugin]({{site.url}}{{site.baseurl}}/security/index/)
|
||||
- [About the Security plugin]({{site.url}}{{site.baseurl}}/security/index/)
|
||||
|
|
Loading…
Reference in New Issue