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

Commit 1ef5ff5

Browse files
committed
Adds tarball installation
1 parent 09f0920 commit 1ef5ff5

File tree

2 files changed

+66
-1
lines changed

2 files changed

+66
-1
lines changed

docs/install/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ has_children: true
77

88
# Install and configure Open Distro for Elasticsearch
99

10-
Open Distro for Elasticsearch has several download options: Docker image, RPM package, and Debian package.
10+
Open Distro for Elasticsearch has several download options: Docker image, RPM package, Debian package, and tarball.

docs/install/tar.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
layout: default
3+
title: Tarball
4+
parent: Install and Configure
5+
nav_order: 4
6+
---
7+
8+
# Tarball
9+
10+
The tarball installation works on Linux systems and provides a self-contained directory with everything you need to run Open Distro for Elasticsearch, including an integrated Java Development Kit (JDK). The tarball is a good option for quick testing, but we recommend Docker or a package manager for production deployments.
11+
12+
1. Download the tarball:
13+
14+
```bash
15+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.2.0.tar.gz -o opendistroforelasticsearch-1.2.0.tar.gz
16+
```
17+
18+
1. Download the checksum:
19+
20+
```bash
21+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.2.0.tar.gz.sha512 -o opendistroforelasticsearch-1.2.0.tar.gz.sha512
22+
```
23+
24+
1. Verify the tarball against the checksum:
25+
26+
```bash
27+
shasum -a 512 -c opendistroforelasticsearch-1.2.0.tar.gz.sha512
28+
```
29+
30+
On CentOS, you might not have `shasum`. Install this package:
31+
32+
```bash
33+
sudo yum install perl-Digest-SHA
34+
```
35+
36+
1. Extract the TAR file to a directory and change to that directory:
37+
38+
```bash
39+
tar -zxvf opendistroforelasticsearch-1.2.0.tar.gz
40+
cd opendistroforelasticsearch-1.2.0
41+
```
42+
43+
1. Run Open Distro for Elasticsearch:
44+
45+
```bash
46+
./opendistro-tar-install.sh
47+
```
48+
49+
1. Open a second terminal session, and send requests to the server to verify that Open Distro for Elasticsearch is up and running:
50+
51+
```bash
52+
curl -XGET https://localhost:9200 -u admin:admin --insecure
53+
curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure
54+
```
55+
56+
57+
## Configuration
58+
59+
You can modify `config/elasticsearch.yml` or specify environment variables as arguments using `-E`:
60+
61+
```bash
62+
./opendistro-tar-install.sh -Ecluster.name=odfe-cluster -Enode.name=odfe-node1 -Ehttp.host=0.0.0.0 -Ediscovery.type=single-node
63+
```
64+
65+
For other settings, see [Important settings](../docker/#important-settings).

0 commit comments

Comments
 (0)