Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions deploy-monitoring-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Assume that the TiDB cluster topology is as follows:

```bash
# Downloads the package.
wget https://download.pingcap.org/prometheus-2.27.1.linux-amd64.tar.gz
wget https://download.pingcap.org/node_exporter-0.17.0.linux-amd64.tar.gz
wget https://download.pingcap.org/grafana-7.5.11.linux-amd64.tar.gz
wget https://download.pingcap.com/prometheus-2.27.1.linux-amd64.tar.gz
wget https://download.pingcap.com/node_exporter-0.17.0.linux-amd64.tar.gz
wget https://download.pingcap.com/grafana-7.5.11.linux-amd64.tar.gz
```

{{< copyable "shell-regular" >}}
Expand Down
2 changes: 1 addition & 1 deletion dm/dm-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ This is a known bug of TiUP, which is fixed in TiUP v1.3.2. The following are tw
2. Scale in and then scale out Grafana nodes in the cluster to restart the Grafana service.
- Solution two:
1. Back up the `deploy/grafana-$port/bin/public` folder.
2. Download the [TiUP DM offline package](https://download.pingcap.org/tidb-dm-v2.0.1-linux-amd64.tar.gz) and unpack it.
2. Download the [TiUP DM offline package](https://download.pingcap.com/tidb-dm-v2.0.1-linux-amd64.tar.gz) and unpack it.
3. Unpack the `grafana-v4.0.3-**.tar.gz` in the offline package.
4. Replace the folder `deploy/grafana-$port/bin/public` with the `public` folder in `grafana-v4.0.3-**.tar.gz`.
5. Execute `tiup dm restart $cluster_name -R grafana` to restart the Grafana service.
Expand Down
2 changes: 1 addition & 1 deletion dm/quick-start-create-task.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ To run a TiDB server, use the following command:
{{< copyable "shell-regular" >}}

```bash
wget https://download.pingcap.org/tidb-community-server-v6.1.7-linux-amd64.tar.gz
wget https://download.pingcap.com/tidb-community-server-v6.1.7-linux-amd64.tar.gz
tar -xzvf tidb-latest-linux-amd64.tar.gz
mv tidb-latest-linux-amd64/bin/tidb-server ./
./tidb-server
Expand Down
6 changes: 3 additions & 3 deletions download-ecosystem-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ TiDB Toolkit contains frequently used TiDB tools, such as data export tool Dumpl
You can download TiDB Toolkit from the following link:

```
https://download.pingcap.org/tidb-community-toolkit-{version}-linux-amd64.tar.gz
https://download.pingcap.com/tidb-community-toolkit-{version}-linux-amd64.tar.gz
```

`{version}` in the link indicates the version number of TiDB. For example, the download link for `v6.1.7` is `https://download.pingcap.org/tidb-community-toolkit-v6.1.7-linux-amd64.tar.gz`.
`{version}` in the link indicates the version number of TiDB. For example, the download link for `v6.1.7` is `https://download.pingcap.com/tidb-community-toolkit-v6.1.7-linux-amd64.tar.gz`.

> **Note:**
>
> If you need to download the [PD Control](/pd-control.md) tool `pd-ctl`, download the TiDB installation package separately from `https://download.pingcap.org/tidb-community-server-{version}-linux-amd64.tar.gz`.
> If you need to download the [PD Control](/pd-control.md) tool `pd-ctl`, download the TiDB installation package separately from `https://download.pingcap.com/tidb-community-server-{version}-linux-amd64.tar.gz`.

## TiDB Toolkit description

Expand Down
4 changes: 2 additions & 2 deletions pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ To obtain `pd-ctl` of the latest version, download the TiDB server installation

| Installation package | OS | Architecture | SHA256 checksum |
| :------------------------------------------------------------------------ | :---- | :----------- | :--------------------------------------------------------------- |
| `https://download.pingcap.org/tidb-community-server-{version}-linux-amd64.tar.gz` (pd-ctl) | Linux | amd64 | `https://download.pingcap.org/tidb-community-server-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-community-server-{version}-linux-amd64.tar.gz` (pd-ctl) | Linux | amd64 | `https://download.pingcap.com/tidb-community-server-{version}-linux-amd64.sha256` |

> **Note:**
>
> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v6.1.7`, the package download link is `https://download.pingcap.org/tidb-community-server-v6.1.7-linux-amd64.tar.gz`.
> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v6.1.7`, the package download link is `https://download.pingcap.com/tidb-community-server-v6.1.7-linux-amd64.tar.gz`.

### Compile from source code

Expand Down
6 changes: 3 additions & 3 deletions production-deployment-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ Perform the following steps in this section to deploy a TiDB cluster offline usi
**Method 1**: Download the offline binary packages (TiUP offline package included) of the target TiDB version using the following links. You need to download both the server and toolkit packages. Note that your downloading means you agree to the [Privacy Policy](https://www.pingcap.com/privacy-policy/).

```
https://download.pingcap.org/tidb-community-server-{version}-linux-{arch}.tar.gz
https://download.pingcap.com/tidb-community-server-{version}-linux-{arch}.tar.gz
```

```
https://download.pingcap.org/tidb-community-toolkit-{version}-linux-{arch}.tar.gz
https://download.pingcap.com/tidb-community-toolkit-{version}-linux-{arch}.tar.gz
```

> **Tip:**
>
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.org/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.

**Method 2**: Manually pack an offline component package using `tiup mirror clone`. The detailed steps are as follows:

Expand Down
4 changes: 2 additions & 2 deletions tidb-binlog/get-started-with-tidb-binlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ sudo yum install -y mariadb-server
```

```bash
curl -L https://download.pingcap.org/tidb-community-server-v6.1.7-linux-amd64.tar.gz | tar xzf -
curl -L https://download.pingcap.com/tidb-community-server-v6.1.7-linux-amd64.tar.gz | tar xzf -
cd tidb-latest-linux-amd64
```

Expected output:

```
[kolbe@localhost ~]$ curl -LO https://download.pingcap.org/tidb-latest-linux-amd64.tar.gz | tar xzf -
[kolbe@localhost ~]$ curl -LO https://download.pingcap.com/tidb-latest-linux-amd64.tar.gz | tar xzf -

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

The command in the example output is inconsistent with the command provided above it (line 45). Also, the use of curl -LO ... | tar ... is incorrect because the -O flag saves the output to a file instead of stdout, leaving nothing for tar to read from the pipe. To maintain consistency and correctness, I suggest updating the command in the example output to match the one on line 45.

Suggested change
[kolbe@localhost ~]$ curl -LO https://download.pingcap.com/tidb-latest-linux-amd64.tar.gz | tar xzf -
[kolbe@localhost ~]$ curl -L https://download.pingcap.com/tidb-community-server-v6.1.7-linux-amd64.tar.gz | tar xzf -

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 368M 100 368M 0 0 8394k 0 0:00:44 0:00:44 --:--:-- 11.1M
Expand Down
8 changes: 4 additions & 4 deletions upgrade-monitoring-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Download a new installation package from the [Prometheus download page](https://
1. Download the TiDB server package and extract it. Note that your downloading means you agree to the [Privacy Policy](https://www.pingcap.com/privacy-policy/).

```
https://download.pingcap.org/tidb-community-server-{version}-linux-{arch}.tar.gz
https://download.pingcap.com/tidb-community-server-{version}-linux-{arch}.tar.gz
```

> **Tip:**
>
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.org/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

The example download link refers to tidb-community-toolkit, but the context is about downloading the tidb-community-server package. To avoid confusion, it's better to make the example consistent with the context.

Suggested change
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-server-v6.1.0-linux-amd64.tar.gz`.


2. In the extracted files, locate `prometheus-v{version}-linux-amd64.tar.gz` and extract it.

Expand Down Expand Up @@ -80,12 +80,12 @@ In the following upgrade steps, you need to download the Grafana installation pa
1. Download the TiDB server package and extract it. Note that your downloading means you agree to the [Privacy Policy](https://www.pingcap.com/privacy-policy/).

```
https://download.pingcap.org/tidb-community-server-{version}-linux-{arch}.tar.gz
https://download.pingcap.com/tidb-community-server-{version}-linux-{arch}.tar.gz
```

> **Tip:**
>
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.org/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

Similar to the previous section, the example download link here refers to tidb-community-toolkit, while the context is about downloading the tidb-community-server package. For clarity, I suggest updating the example URL to point to the server package.

Suggested change
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v6.1.0-linux-amd64.tar.gz`.
> `{version}` in the link indicates the version number of TiDB and `{arch}` indicates the architecture of the system, which can be `amd64` or `arm64`. For example, the download link for `v6.1.0` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-server-v6.1.0-linux-amd64.tar.gz`.


2. In the extracted files, locate `grafana-v{version}-linux-amd64.tar.gz` and extract it.

Expand Down
Loading