Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 0bee2c6

Browse files
authored
Merge pull request #413 from sreekarjami/master
Add the x64 and arm64 instructions for deb ES-oss install
2 parents 0bcab1c + b6ef92f commit 0bee2c6

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

docs/install/deb.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ These steps assume you're using Ubuntu 18.04.
4343
1. Install Elasticsearch OSS:
4444

4545
```bash
46+
# x86
4647
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-{{site.es_version}}-amd64.deb
4748
sudo dpkg -i elasticsearch-oss-{{site.es_version}}-amd64.deb
49+
# ARM64
50+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-{{site.es_version}}-arm64.deb
51+
sudo dpkg -i elasticsearch-oss-{{site.es_version}}-arm64.deb
4852
```
4953

5054
1. Install the latest version of Open Distro for Elasticsearch:

docs/install/rpm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Installing and running Open Distro for Elasticsearch from an RPM package is a mo
4444
sudo yum install opendistroforelasticsearch-{{site.odfe_version}}
4545
```
4646

47+
This command automatically chooses the appropriate architecture (x64 or ARM64) depending on the system you're using.
48+
4749
1. **If you installed Java 8**, run the following command:
4850

4951
```bash

docs/install/tar.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,29 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
1414
1. Download the tarball:
1515

1616
```bash
17-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{{site.odfe_version}}.tar.gz -o opendistroforelasticsearch-{{site.odfe_version}}.tar.gz
17+
# x64
18+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{{site.odfe_version}}-linux-x64.tar.gz -o opendistroforelasticsearch-{{site.odfe_version}}-linux-x64.tar.gz
19+
# ARM64
20+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{{site.odfe_version}}-linux-arm64.tar.gz -o opendistroforelasticsearch-{{site.odfe_version}}-linux-arm64.tar.gz
1821
```
1922

2023
1. Download the checksum:
2124

2225
```bash
23-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{{site.odfe_version}}.tar.gz.sha512 -o opendistroforelasticsearch-{{site.odfe_version}}.tar.gz.sha512
26+
# x86
27+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{{site.odfe_version}}-linux-x64.tar.gz.sha512 -o opendistroforelasticsearch-{{site.odfe_version}}-linux-x64.tar.gz.sha512
28+
# ARM64
29+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-{{site.odfe_version}}-linux-arm64.tar.gz.sha512 -o opendistroforelasticsearch-{{site.odfe_version}}-linux-arm64.tar.gz.sha512
2430
```
2531

2632
1. Verify the tarball against the checksum:
2733

34+
2835
```bash
29-
shasum -a 512 -c opendistroforelasticsearch-{{site.odfe_version}}.tar.gz.sha512
36+
# x64
37+
shasum -a 512 -c opendistroforelasticsearch-{{site.odfe_version}}-linux-x64.tar.gz.sha512
38+
# ARM64
39+
shasum -a 512 -c opendistroforelasticsearch-{{site.odfe_version}}-linux-arm64.tar.gz.sha512
3040
```
3141

3242
On CentOS, you might not have `shasum`. Install this package:
@@ -40,7 +50,11 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
4050
1. Extract the TAR file to a directory and change to that directory:
4151

4252
```bash
43-
tar -zxf opendistroforelasticsearch-{{site.odfe_version}}.tar.gz
53+
# x64
54+
tar -zxf opendistroforelasticsearch-{{site.odfe_version}}-linux-x64.tar.gz
55+
cd opendistroforelasticsearch-{{site.odfe_version}}
56+
# ARM64
57+
tar -zxf opendistroforelasticsearch-{{site.odfe_version}}-linux-arm64.tar.gz
4458
cd opendistroforelasticsearch-{{site.odfe_version}}
4559
```
4660

0 commit comments

Comments
 (0)