Skip to content

Commit bfbf9a8

Browse files
committed
Adds a tip that explains how to install other 9.x versions
In case someone needs to install an older version of the Elasticsearch 9.x series, I'm adding a tip admonition to explain that they can replace the versions in the code examples with the version that they want. I'm using variables so that this guidance isn't hardcoded and doesn't require version bumps in the future. Fixes #2234
1 parent 196e461 commit bfbf9a8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ cd elasticsearch-{{version.stack}}/ <2>
5656
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`.
5757
2. This directory is known as `$ES_HOME`.
5858

59-
59+
:::{tip}
60+
You can install another version of {{es}} {{version.stack.base | M }} by replacing {{version.stack}} with the version number you want. For example, you can replace {{version.stack}} with {{version.stack.base}}.
61+
:::
6062

6163
### MacOS [install-macos]
6264

@@ -77,7 +79,7 @@ cd elasticsearch-{{version.stack}}/ <2>
7779

7880
Apple’s rollout of stricter notarization requirements affected the notarization of the {{version.stack}} {{es}} artifacts. If macOS displays a dialog when you first run {{es}} that interrupts it, then you need to take an action to allow it to run.
7981

80-
To prevent Gatekeeper checks on the {{es}} files, run the following command on the downloaded .tar.gz archive or the directory to which was extracted:
82+
To prevent Gatekeeper checks on the {{es}} files, run the following command on the downloaded `.tar.gz` archive or the directory to which it was extracted:
8183

8284
```sh
8385
xattr -d -r com.apple.quarantine <archive-or-directory>
@@ -86,6 +88,10 @@ xattr -d -r com.apple.quarantine <archive-or-directory>
8688
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).
8789
::::
8890

91+
:::{tip}
92+
You can install another version of {{es}} {{version.stack.base | M }} by replacing {{version.stack}} with the version number you want. For example, you can replace {{version.stack}} with {{version.stack.base}}.
93+
:::
94+
8995
## Step 2: Enable automatic creation of system indices [targz-enable-indices]
9096

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

0 commit comments

Comments
 (0)