mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-07 09:38:11 +00:00
Make sure 2.x yum installation match 1.x naming patterns (#780)
* Make sure 2.x yum installation match 1.x naming patterns Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweak a bit Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweak a bit Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
This commit is contained in:
parent
bda7ffdfe3
commit
e12c1a2867
@ -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-2.x.repo -o /etc/yum.repos.d/2.x.repo
|
||||
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/opensearch-2.x.repo -o /etc/yum.repos.d/opensearch-2.x.repo
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/dashboards.2.x.repo
|
||||
sudo curl -SL https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/opensearch-dashboards-2.x.repo -o /etc/yum.repos.d/opensearch-dashboards-2.x.repo
|
||||
```
|
||||
|
||||
To verify that the repos appear in your repo list, use `sudo yum repolist`.
|
||||
@ -74,10 +74,11 @@ YUM, an RPM package management tool, allows you to pull the RPM package from the
|
||||
sudo yum clean all
|
||||
```
|
||||
|
||||
3. With the repository file downloaded, list all available versions of OpenSearch:
|
||||
3. With the repository file downloaded, list all available versions of OpenSearch and OpenSearch-Dashboards:
|
||||
|
||||
```bash
|
||||
sudo yum list | grep opensearch
|
||||
sudo yum list opensearch --showduplicates
|
||||
sudo yum list opensearch-dashboards --showduplicates
|
||||
```
|
||||
|
||||
4. Choose the version of OpenSearch you want to install:
|
||||
|
Loading…
x
Reference in New Issue
Block a user