Skip to content

Commit d6ea951

Browse files
committed
Updating topics to include tabs instead of the tip
1 parent ed96a16 commit d6ea951

File tree

5 files changed

+106
-29
lines changed

5 files changed

+106
-29
lines changed

deploy-manage/deploy/self-managed/_snippets/tip-install-other-9-versions.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

deploy-manage/deploy/self-managed/install-elasticsearch-from-archive-on-linux-macos.md

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,69 @@ Download and install the archive for Linux or MacOS.
4343

4444
### Linux [install-linux]
4545

46-
The Linux archive for {{es}} {{version.stack}} can be downloaded and installed as follows:
46+
The Linux archive for {{es}} can be downloaded and installed as follows:
4747

48+
::::{tab-set}
49+
50+
:::{tab-item} Latest
51+
To download and install the {{es}} {{version.stack}} archive, enter:
4852
```sh subs=true
4953
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-linux-x86_64.tar.gz
5054
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-linux-x86_64.tar.gz.sha512
5155
shasum -a 512 -c elasticsearch-{{version.stack}}-linux-x86_64.tar.gz.sha512 <1>
5256
tar -xzf elasticsearch-{{version.stack}}-linux-x86_64.tar.gz
5357
cd elasticsearch-{{version.stack}}/ <2>
5458
```
55-
5659
1. Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output `elasticsearch-<version>-linux-x86_64.tar.gz: OK`.
5760
2. This directory is known as `$ES_HOME`.
61+
:::
5862

59-
:::{include} _snippets/tip-install-other-9-versions.md
63+
:::{tab-item} Specific version
64+
Replace `<specific.version>` with the {{es}} version number you want. For example, you can replace `<specific.version>` with {{version.stack.base}}.
65+
```sh subs=true
66+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-linux-x86_64.tar.gz
67+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-linux-x86_64.tar.gz.sha512
68+
shasum -a 512 -c elasticsearch-<specific.version>-linux-x86_64.tar.gz.sha512 <1>
69+
tar -xzf elasticsearch-<specific.version>-linux-x86_64.tar.gz
70+
cd elasticsearch-<specific.version>/ <2>
71+
```
72+
1. Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output `elasticsearch-<version>-linux-x86_64.tar.gz: OK`.
73+
2. This directory is known as `$ES_HOME`.
6074
:::
75+
::::
76+
6177

6278
### MacOS [install-macos]
6379

64-
The MacOS archive for {{es}} {{version.stack}} can be downloaded and installed as follows:
80+
The MacOS archive for {{es}} can be downloaded and installed as follows:
6581

82+
::::{tab-set}
83+
84+
:::{tab-item} Latest
85+
To download and install the {{es}} {{version.stack}} archive, enter:
6686
```sh subs=true
6787
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-darwin-x86_64.tar.gz
6888
curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-darwin-x86_64.tar.gz.sha512 | shasum -a 512 -c - <1>
6989
tar -xzf elasticsearch-{{version.stack}}-darwin-x86_64.tar.gz
7090
cd elasticsearch-{{version.stack}}/ <2>
7191
```
72-
7392
1. Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output `elasticsearch-<version>-darwin-x86_64.tar.gz: OK`.
7493
2. This directory is known as `$ES_HOME`.
94+
:::
95+
96+
:::{tab-item} Specific version
97+
Replace `<specific.version>` with the {{es}} version number you want. For example, you can replace `<specific.version>` with {{version.stack.base}}.
98+
```sh subs=true
99+
curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-darwin-x86_64.tar.gz
100+
curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-darwin-x86_64.tar.gz.sha512 | shasum -a 512 -c - <1>
101+
tar -xzf elasticsearch-<specific.version>-darwin-x86_64.tar.gz
102+
cd elasticsearch-<specific.version>/ <2>
103+
```
104+
1. Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output `elasticsearch-<specific-version>-darwin-x86_64.tar.gz: OK`.
105+
2. This directory is known as `$ES_HOME`.
106+
:::
107+
:::
108+
::::
75109

76110
::::{admonition} macOS Gatekeeper warnings
77111
:class: important
@@ -87,9 +121,6 @@ xattr -d -r com.apple.quarantine <archive-or-directory>
87121
Alternatively, you can add a security override by following the instructions in the *If you want to open an app that hasn’t been notarized or is from an unidentified developer* section of [Safely open apps on your Mac](https://support.apple.com/en-us/HT202491).
88122
::::
89123

90-
:::{include} _snippets/tip-install-other-9-versions.md
91-
:::
92-
93124
## Step 2: Enable automatic creation of system indices [targz-enable-indices]
94125

95126
:::{include} _snippets/enable-auto-indices.md

deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,32 @@ Examine `/etc/apt/sources.list.d/elasticsearch-9.x.list` for the duplicate entry
9999

100100
### Download and install the Debian package manually [install-deb]
101101

102-
The Debian package for {{es}} {{version.stack}} can be downloaded from the website and installed as follows:
102+
The Debian package for {{es}} can be downloaded from the website and installed as follows:
103103

104+
::::{tab-set}
105+
106+
:::{tab-item} Latest
107+
To download and install the {{es}} {{version.stack}} package, enter:
104108
```sh subs=true
105109
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-amd64.deb
106110
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-amd64.deb.sha512
107111
shasum -a 512 -c elasticsearch-{{version.stack}}-amd64.deb.sha512 <1>
108112
sudo dpkg -i elasticsearch-{{version.stack}}-amd64.deb
109113
```
110-
111114
1. Compares the SHA of the downloaded Debian package and the published checksum, which should output `elasticsearch-<version>-amd64.deb: OK`.
115+
:::
112116

113-
:::{include} _snippets/tip-install-other-9-versions.md
117+
:::{tab-item} Specific version
118+
Replace `<specific.version>` with the {{es}} version number you want. For example, you can replace `<specific.version>` with {{version.stack.base}}.
119+
```sh subs=true
120+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-amd64.deb
121+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-amd64.deb.sha512
122+
shasum -a 512 -c elasticsearch-<specific.version>-amd64.deb.sha512 <1>
123+
sudo dpkg -i elasticsearch-<specific.version>-amd64.deb
124+
```
125+
1. Compares the SHA of the downloaded Debian package and the published checksum, which should output `elasticsearch-<specific-version>-amd64.deb: OK`.
114126
:::
127+
::::
115128

116129
## Step 3: Set up the node for connectivity
117130

deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,44 @@ sudo zypper modifyrepo --enable elasticsearch && \
8383

8484
### Download and install the RPM manually [install-rpm]
8585

86-
1. Download and install the RPM for {{es}} {{version.stack}} with the following commands:
86+
1. Download and install the RPM for {{es}} with the following commands:
87+
88+
::::{tab-set}
89+
90+
:::{tab-item} Latest
91+
To download and install the {{es}} {{version.stack}} RPM, enter:
92+
```sh subs=true
93+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-x86_64.rpm
94+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-x86_64.rpm.sha512
95+
shasum -a 512 -c elasticsearch-{{version.stack}}-x86_64.rpm.sha512 <1>
96+
sudo rpm --install elasticsearch-{{version.stack}}-x86_64.rpm
97+
```
98+
1. Compares the SHA of the downloaded RPM and the published checksum, which should output `elasticsearch-<version>-x86_64.rpm: OK`.
99+
100+
:::{include} _snippets/skip-set-kernel-params.md
101+
:::
102+
103+
:::
104+
105+
:::{tab-item} Specific version
106+
Replace `<specific.version>` with the {{es}} version number you want. For example, you can replace `<specific.version>` with {{version.stack.base}}.
107+
```sh subs=true
108+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-x86_64.rpm
109+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-<specific.version>-x86_64.rpm.sha512
110+
shasum -a 512 -c elasticsearch-<specific.version>-x86_64.rpm.sha512 <1>
111+
sudo rpm --install elasticsearch-<specific.version>-x86_64.rpm
112+
```
113+
1. Compares the SHA of the downloaded RPM and the published checksum, which should output `elasticsearch-<specific.version>-x86_64.rpm: OK`.
114+
115+
:::{include} _snippets/skip-set-kernel-params.md
116+
:::
87117

88-
```sh subs=true
89-
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-x86_64.rpm
90-
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-x86_64.rpm.sha512
91-
shasum -a 512 -c elasticsearch-{{version.stack}}-x86_64.rpm.sha512 <1>
92-
sudo rpm --install elasticsearch-{{version.stack}}-x86_64.rpm
93-
```
94-
95-
1. Compares the SHA of the downloaded RPM and the published checksum, which should output `elasticsearch-<version>-x86_64.rpm: OK`.
118+
:::
119+
::::
120+
96121

97-
:::{include} _snippets/skip-set-kernel-params.md
98-
:::
122+
99123

100-
:::{include} _snippets/tip-install-other-9-versions.md
101-
:::
102124

103125
2. Copy the terminal output from the install command to a local file. In particular, you’ll need the password for the built-in `elastic` superuser account. The output also contains the commands to enable {{es}} to [run as a service](#running-systemd).
104126

deploy-manage/deploy/self-managed/install-elasticsearch-with-zip-on-windows.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,31 @@ On Windows, the {{es}} {{ml}} feature requires the Microsoft Universal C Runtime
4141

4242
## Step 1: Download and install the `.zip` package [install-windows]
4343

44+
::::{tab-set}
45+
46+
:::{tab-item} Latest
4447
% link url manually set
4548
Download the `.zip` archive for {{es}} {{version.stack}} from: [https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-windows-x86_64.zip](https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{version.stack}}-windows-x86_64.zip)
4649

47-
Unzip it with your favorite unzip tool. This will create a folder called `elasticsearch-<version>`, which we will refer to as `%ES_HOME%`. In a terminal window, `cd` to the `%ES_HOME%` directory, for instance:
50+
Unzip it with your favorite unzip tool. This will create a folder called `elasticsearch-{{version.stack}}`, which we will refer to as `%ES_HOME%`. In a terminal window, `cd` to the `%ES_HOME%` directory, for example:
4851

4952
```sh subs=true
5053
cd C:\Program Files\elasticsearch-{{version.stack}}
5154
```
55+
:::
56+
57+
:::{tab-item} Specific version
58+
Download the `.zip` archive for the {{es}} version that you want from the [Past Releases](https://www.elastic.co/downloads/past-releases) page.
59+
60+
Unzip it with your favorite unzip tool. This will create a folder called `elasticsearch-<specific-version>`, which we will refer to as `%ES_HOME%`. In a terminal window, `cd` to the `%ES_HOME%` directory, for example:
5261

53-
:::{include} _snippets/tip-install-other-9-versions.md
62+
```sh subs=true
63+
cd C:\Program Files\elasticsearch-<specific.version>
64+
```
65+
Replace `<specific.version>` with the {{es}} version number you want. For example, you can replace `<specific.version>` with {{version.stack.base}}.
5466
:::
67+
::::
68+
5569

5670
## Step 2: Enable automatic creation of system indices [windows-enable-indices]
5771

0 commit comments

Comments
 (0)