update oss and cloud with latest-patch shortcode (#2562)
parent
972d369623
commit
1fcc7e452c
|
@ -102,7 +102,7 @@ To use the `influx` CLI to manage and interact with your InfluxDB Cloud instance
|
|||
|
||||
Click the following button to download and install `influx` CLI for macOS.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.0.6-darwin-amd64.tar.gz" download>influx CLI (macOS)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-client-{{< latest-patch >}}-darwin-amd64.tar.gz" download>influx CLI (macOS)</a>
|
||||
|
||||
#### Step 2: Unpackage the influx binary
|
||||
|
||||
|
@ -114,7 +114,7 @@ or run the following command in a macOS command prompt application such
|
|||
|
||||
```sh
|
||||
# Unpackage contents to the current working directory
|
||||
tar zxvf ~/Downloads/influxdb2-client-2.0.5-darwin-amd64.tar.gz
|
||||
tar zxvf ~/Downloads/influxdb2-client-{{< latest-patch >}}-darwin-amd64.tar.gz
|
||||
```
|
||||
|
||||
#### Step 3: (Optional) Place the binary in your $PATH
|
||||
|
@ -126,7 +126,7 @@ prefix the executable with `./` to run in place. If the binary is on your $PATH,
|
|||
|
||||
```sh
|
||||
# Copy the influx binary to your $PATH
|
||||
sudo cp influxdb2-client-2.0.5-darwin-amd64/influx /usr/local/bin/
|
||||
sudo cp influxdb2-client-{{< latest-patch >}}-darwin-amd64/influx /usr/local/bin/
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
@ -170,8 +170,8 @@ To see all available `influx` commands, type `influx -h` or check out [influx -
|
|||
|
||||
Click one of the following buttons to download and install the `influx` CLI appropriate for your chipset.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.0.6-linux-amd64.tar.gz" download >influx CLI (amd64)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.0.6-linux-arm64.tar.gz" download >influx CLI (arm)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-client-{{< latest-patch >}}-linux-amd64.tar.gz" download >influx CLI (amd64)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-client-{{< latest-patch >}}-linux-arm64.tar.gz" download >influx CLI (arm)</a>
|
||||
|
||||
#### Step 2: Unpackage the influx binary
|
||||
|
||||
|
@ -179,7 +179,7 @@ Click one of the following buttons to download and install the `influx` CLI appr
|
|||
|
||||
```sh
|
||||
# Unpackage contents to the current working directory
|
||||
tar xvfz influxdb-client-2.0.5-linux-amd64.tar.gz
|
||||
tar xvfz influxdb-client-{{< latest-patch >}}-linux-amd64.tar.gz
|
||||
```
|
||||
|
||||
#### Step 3: (Optional) Place the binary in your $PATH
|
||||
|
@ -191,7 +191,7 @@ prefix the executable with `./` to run in place. If the binary is on your $PATH,
|
|||
|
||||
```sh
|
||||
# Copy the influx and influxd binary to your $PATH
|
||||
sudo cp influxdb-client-2.0.5-linux-amd64/influx /usr/local/bin/
|
||||
sudo cp influxdb-client-{{< latest-patch >}}-linux-amd64/influx /usr/local/bin/
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
@ -230,7 +230,7 @@ To see all available `influx` commands, type `influx -h` or check out [influx -
|
|||
|
||||
Click the following button to download and install `influx` CLI for Windows.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-windows-amd64.tar.gz" download>influx CLI (Windows)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-windows-amd64.tar.gz" download>influx CLI (Windows)</a>
|
||||
|
||||
#### Step 2: Expand the downloaded archive
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ You can also download the InfluxDB v2.0 binaries for macOS directly: -->
|
|||
|
||||
Download InfluxDB 2.0 for macOS.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-darwin-amd64.tar.gz" download>InfluxDB v2.0 (macOS)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-darwin-amd64.tar.gz" download>InfluxDB v2.0 (macOS)</a>
|
||||
|
||||
##### (Optional) Verify the authenticity of downloaded binary
|
||||
|
||||
|
@ -67,13 +67,13 @@ If `gpg` is not available, see the [GnuPG homepage](https://gnupg.org/download/)
|
|||
For example:
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-darwin-amd64.tar.gz.asc
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-darwin-amd64.tar.gz.asc
|
||||
```
|
||||
|
||||
3. Verify the signature with `gpg --verify`:
|
||||
|
||||
```
|
||||
gpg --verify influxdb2-2.0.6-darwin-amd64.tar.gz.asc influxdb2-2.0.6-darwin-amd64.tar.gz
|
||||
gpg --verify influxdb2-{{< latest-patch >}}-darwin-amd64.tar.gz.asc influxdb2-{{< latest-patch >}}-darwin-amd64.tar.gz
|
||||
```
|
||||
|
||||
The output from this command should include the following:
|
||||
|
@ -90,7 +90,7 @@ or run the following command in a macOS command prompt application such
|
|||
|
||||
```sh
|
||||
# Unpackage contents to the current working directory
|
||||
tar zxvf ~/Downloads/influxdb2-2.0.6-darwin-amd64.tar.gz
|
||||
tar zxvf ~/Downloads/influxdb2-{{< latest-patch >}}-darwin-amd64.tar.gz
|
||||
```
|
||||
|
||||
##### (Optional) Place the binaries in your $PATH
|
||||
|
@ -100,7 +100,7 @@ prefix the executables with `./` to run then in place.
|
|||
|
||||
```sh
|
||||
# (Optional) Copy the influx and influxd binary to your $PATH
|
||||
sudo cp influxdb2-2.0.6-darwin-amd64/{influx,influxd} /usr/local/bin/
|
||||
sudo cp influxdb2-{{< latest-patch >}}-darwin-amd64/{influx,influxd} /usr/local/bin/
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
@ -169,8 +169,8 @@ influxd --reporting-disabled
|
|||
|
||||
Download InfluxDB v2.0 for Linux.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-linux-amd64.tar.gz" download >InfluxDB v2.0 (amd64)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-linux-arm64.tar.gz" download >InfluxDB v2.0 (arm)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-linux-amd64.tar.gz" download >InfluxDB v2.0 (amd64)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-linux-arm64.tar.gz" download >InfluxDB v2.0 (arm)</a>
|
||||
|
||||
### (Optional) Verify the authenticity of downloaded binary
|
||||
|
||||
|
@ -188,13 +188,13 @@ If `gpg` is not available, see the [GnuPG homepage](https://gnupg.org/download/)
|
|||
For example:
|
||||
|
||||
```
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-linux-amd64.tar.gz.asc
|
||||
wget https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-linux-amd64.tar.gz.asc
|
||||
```
|
||||
|
||||
3. Verify the signature with `gpg --verify`:
|
||||
|
||||
```
|
||||
gpg --verify influxdb2-2.0.6-linux-amd64.tar.gz.asc influxdb2-2.0.6-linux-amd64.tar.gz
|
||||
gpg --verify influxdb2-{{< latest-patch >}}-linux-amd64.tar.gz.asc influxdb2-{{< latest-patch >}}-linux-amd64.tar.gz
|
||||
```
|
||||
|
||||
The output from this command should include the following:
|
||||
|
@ -211,10 +211,10 @@ _**Note:** The following commands are examples. Adjust the file names, paths, an
|
|||
|
||||
```sh
|
||||
# Unpackage contents to the current working directory
|
||||
tar xvzf path/to/influxdb2-2.0.6-linux-amd64.tar.gz
|
||||
tar xvzf path/to/influxdb2-{{< latest-patch >}}-linux-amd64.tar.gz
|
||||
|
||||
# Copy the influx and influxd binary to your $PATH
|
||||
sudo cp influxdb2-2.0.6-linux-amd64/{influx,influxd} /usr/local/bin/
|
||||
sudo cp influxdb2-{{< latest-patch >}}-linux-amd64/{influx,influxd} /usr/local/bin/
|
||||
```
|
||||
|
||||
{{% note %}}
|
||||
|
@ -344,7 +344,7 @@ in the provided examples with `./influx` and `./influxd` respectively.
|
|||
### Download and install InfluxDB v2.0
|
||||
Download InfluxDB v2.0 for Windows.
|
||||
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-windows-amd64.zip" download >InfluxDB v2.0 (Windows)</a>
|
||||
<a class="btn download" href="https://dl.influxdata.com/influxdb/releases/influxdb2-{{< latest-patch >}}-windows-amd64.zip" download >InfluxDB v2.0 (Windows)</a>
|
||||
|
||||
Expand the downloaded archive into `C:\Program Files\InfluxData\influxdb`.
|
||||
|
||||
|
@ -402,7 +402,7 @@ Expose port `8086`, which InfluxDB uses for client-server communication over
|
|||
the [InfluxDB HTTP API](/influxdb/v2.0/reference/api/).
|
||||
|
||||
```sh
|
||||
docker run --name influxdb -p 8086:8086 influxdb:2.0.6
|
||||
docker run --name influxdb -p 8086:8086 influxdb:{{< latest-patch >}}
|
||||
```
|
||||
_To run InfluxDB in [detached mode](https://docs.docker.com/engine/reference/run/#detached-vs-foreground), include the `-d` flag in the `docker run` command._
|
||||
|
||||
|
@ -422,7 +422,7 @@ _To run InfluxDB in [detached mode](https://docs.docker.com/engine/reference/run
|
|||
--name influxdb \
|
||||
-p 8086:8086 \
|
||||
--volume $PWD:/var/lib/influxdb2 \
|
||||
influxdb:2.0.6
|
||||
influxdb:{{< latest-patch >}}
|
||||
```
|
||||
|
||||
### Configure InfluxDB with Docker
|
||||
|
@ -435,7 +435,7 @@ To mount an InfluxDB configuration file and use it from within Docker:
|
|||
|
||||
```sh
|
||||
docker run \
|
||||
--rm influxdb:2.0.6 \
|
||||
--rm influxdb:{{< latest-patch >}} \
|
||||
influxd print-config > config.yml
|
||||
```
|
||||
|
||||
|
@ -446,7 +446,7 @@ To mount an InfluxDB configuration file and use it from within Docker:
|
|||
```sh
|
||||
docker run -p 8086:8086 \
|
||||
-v $PWD/config.yml:/etc/influxdb2/config.yml \
|
||||
influxdb:2.0.6
|
||||
influxdb:{{< latest-patch >}}
|
||||
```
|
||||
|
||||
(Find more about configuring InfluxDB [here](https://docs.influxdata.com/influxdb/v2.0/reference/config-options/).)
|
||||
|
@ -470,7 +470,7 @@ To opt-out of sending telemetry data back to InfluxData, include the
|
|||
`--reporting-disabled` flag when starting the InfluxDB container.
|
||||
|
||||
```sh
|
||||
docker run -p 8086:8086 influxdb:2.0.6 --reporting-disabled
|
||||
docker run -p 8086:8086 influxdb:{{< latest-patch >}} --reporting-disabled
|
||||
```
|
||||
{{% /note %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue