From 1fcc7e452c73c3e58da3e6ef35a8a842cc828501 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 19 May 2021 09:39:01 -0600 Subject: [PATCH] update oss and cloud with latest-patch shortcode (#2562) --- content/influxdb/cloud/sign-up.md | 16 ++++++------- content/influxdb/v2.0/get-started.md | 34 ++++++++++++++-------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/content/influxdb/cloud/sign-up.md b/content/influxdb/cloud/sign-up.md index 2d6bd765a..c5d35fdae 100644 --- a/content/influxdb/cloud/sign-up.md +++ b/content/influxdb/cloud/sign-up.md @@ -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. -influx CLI (macOS) +influx CLI (macOS) #### 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. -influx CLI (amd64) -influx CLI (arm) +influx CLI (amd64) +influx CLI (arm) #### 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. -influx CLI (Windows) +influx CLI (Windows) #### Step 2: Expand the downloaded archive diff --git a/content/influxdb/v2.0/get-started.md b/content/influxdb/v2.0/get-started.md index 737ed2dad..80c4aecb0 100644 --- a/content/influxdb/v2.0/get-started.md +++ b/content/influxdb/v2.0/get-started.md @@ -49,7 +49,7 @@ You can also download the InfluxDB v2.0 binaries for macOS directly: --> Download InfluxDB 2.0 for macOS. -InfluxDB v2.0 (macOS) +InfluxDB v2.0 (macOS) ##### (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. -InfluxDB v2.0 (amd64) -InfluxDB v2.0 (arm) +InfluxDB v2.0 (amd64) +InfluxDB v2.0 (arm) ### (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. -InfluxDB v2.0 (Windows) +InfluxDB v2.0 (Windows) 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 %}}