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
4 changes: 2 additions & 2 deletions dm/deploy-a-dm-cluster-using-binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Download the official binary using the download link in the following table:

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/dm-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.org/dm-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/dm-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.com/dm-{version}-linux-amd64.sha256` |

> **Note:**
>
> `{version}` in the above download link indicates the version number of TiDB. For example, the download link for `v1.0.1` is `https://download.pingcap.org/dm-v1.0.1-linux-amd64.tar.gz`. You can check the published DM versions in the [DM Release](https://github.com/pingcap/tiflow/releases) page.
> `{version}` in the above download link indicates the version number of TiDB. For example, the download link for `v1.0.1` is `https://download.pingcap.com/dm-v1.0.1-linux-amd64.tar.gz`. You can check the published DM versions in the [DM Release](https://github.com/pingcap/tiflow/releases) page.

The downloaded files have two subdirectories, `bin` and `conf`. The `bin` directory contains the binary files of DM-master, DM-worker, and dmctl. The `conf` directory contains the sample configuration files.

Expand Down
2 changes: 1 addition & 1 deletion dm/dm-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,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-latest-linux-amd64.tar.gz
wget https://download.pingcap.com/tidb-latest-linux-amd64.tar.gz
tar -xzvf tidb-latest-linux-amd64.tar.gz
mv tidb-latest-linux-amd64/bin/tidb-server ./
./tidb-server
Expand Down
2 changes: 1 addition & 1 deletion dm/quick-start-with-dm.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Download DM latest binary package or compile the package manually.
{{< copyable "shell-regular" >}}

```bash
wget http://download.pingcap.org/dm-nightly-linux-amd64.tar.gz
wget http://download.pingcap.com/dm-nightly-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

For consistency with other download links and for better security, it's recommended to use https instead of http.

Suggested change
wget http://download.pingcap.com/dm-nightly-linux-amd64.tar.gz
wget https://download.pingcap.com/dm-nightly-linux-amd64.tar.gz
References
  1. The style guide emphasizes using consistent terminology (line 25). Using https for all download links improves consistency and security. (link)

tar -xzvf dm-nightly-linux-amd64.tar.gz
cd dm-nightly-linux-amd64
```
Expand Down
24 changes: 12 additions & 12 deletions download-ecosystem-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,59 +21,59 @@ If you want to download the latest version of [TiDB Binlog](/tidb-binlog/tidb-bi

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/tidb-{version}-linux-amd64.tar.gz` (TiDB Binlog) | Linux | amd64 | `https://download.pingcap.org/tidb-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-{version}-linux-amd64.tar.gz` (TiDB Binlog) | Linux | amd64 | `https://download.pingcap.com/tidb-{version}-linux-amd64.sha256` |

> **Note:**
>
> `{version}` in the above download link indicates the version number of TiDB. For example, the download link for `v5.4.3` is `https://download.pingcap.org/tidb-v5.4.3-linux-amd64.tar.gz`.
> `{version}` in the above download link indicates the version number of TiDB. For example, the download link for `v5.4.3` is `https://download.pingcap.com/tidb-v5.4.3-linux-amd64.tar.gz`.

## TiDB Lightning

Download [TiDB Lightning](/tidb-lightning/tidb-lightning-overview.md) by using the download link in the following table:

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.sha256` |

> **Note:**
>
> `{version}` in the above download link indicates the version number of TiDB Lightning. For example, the download link for `v5.4.3` is `https://download.pingcap.org/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`.
> `{version}` in the above download link indicates the version number of TiDB Lightning. For example, the download link for `v5.4.3` is `https://download.pingcap.com/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`.

## BR (backup and restore)

Download [BR](/br/backup-and-restore-tool.md) by using the download link in the following table:

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `http://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `http://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.sha256` |
| `http://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `http://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.sha256` |

Choose a reason for hiding this comment

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

low

For consistency with other download links in this file and for better security, it's recommended to use https instead of http for both URLs in this line.

Suggested change
| `http://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `http://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.sha256` |
References
  1. The style guide emphasizes using consistent terminology (line 25). Using https for all download links improves consistency and security. (link)


> **Note:**
>
> `{version}` in the above download link indicates the version number of BR. For example, the download link for `v5.4.3` is `https://download.pingcap.org/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`.
> `{version}` in the above download link indicates the version number of BR. For example, the download link for `v5.4.3` is `https://download.pingcap.com/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`.

## TiDB DM (Data Migration)

Download [DM](/dm/dm-overview.md) by using the download link in the following table:

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/dm-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.org/dm-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/dm-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.com/dm-{version}-linux-amd64.sha256` |

> **Note:**
>
> `{version}` in the above download link indicates the version number of DM. For example, the download link for `v5.4.3` is `https://download.pingcap.org/dm-v5.4.3-linux-amd64.tar.gz`. You can check the published DM versions in the [DM Release](https://github.com/pingcap/dm/releases) page.
> `{version}` in the above download link indicates the version number of DM. For example, the download link for `v5.4.3` is `https://download.pingcap.com/dm-v5.4.3-linux-amd64.tar.gz`. You can check the published DM versions in the [DM Release](https://github.com/pingcap/dm/releases) page.

## Dumpling

Download [Dumpling](/dumpling-overview.md) from the links below:

| Installation package | Operating system | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.sha256` |

> **Note:**
>
> The `{version}` in the download link is the version number of Dumpling. For example, the link for downloading the `v5.4.3` version of Dumpling is `https://download.pingcap.org/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`. You can view the currently released versions in [TiDB Releases](https://github.com/pingcap/tidb/releases).
> The `{version}` in the download link is the version number of Dumpling. For example, the link for downloading the `v5.4.3` version of Dumpling is `https://download.pingcap.com/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`. You can view the currently released versions in [TiDB Releases](https://github.com/pingcap/tidb/releases).
>
> Dumpling supports arm64 linux. You can replace `amd64` in the download link with `arm64`, which means the `arm64` version of Dumpling.

Expand All @@ -83,11 +83,11 @@ Download [sync-diff-inspector](/sync-diff-inspector/sync-diff-inspector-overview

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.org/tidb-toolkit-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.tar.gz` | Linux | amd64 | `https://download.pingcap.com/tidb-toolkit-{version}-linux-amd64.sha256` |

> **Note:**
>
> `{version}` in the download link is the version number of TiDB. For example, the download link for `v5.4.3` is `https://download.pingcap.org/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`. You can view the currently released versions in [TiDB Releases](https://github.com/pingcap/tidb/releases).
> `{version}` in the download link is the version number of TiDB. For example, the download link for `v5.4.3` is `https://download.pingcap.com/tidb-toolkit-v5.4.3-linux-amd64.tar.gz`. You can view the currently released versions in [TiDB Releases](https://github.com/pingcap/tidb/releases).

## TiCDC

Expand Down
2 changes: 1 addition & 1 deletion get-started-with-tidb-lightning.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before the data import, you need to deploy a TiDB cluster. In this tutorial, TiD

Download the TiDB Lightning installation package from the following link:

- **v5.4.0**: [tidb-toolkit-v5.4.0-linux-amd64.tar.gz](https://download.pingcap.org/tidb-toolkit-v5.4.0-linux-amd64.tar.gz)
- **v5.4.0**: [tidb-toolkit-v5.4.0-linux-amd64.tar.gz](https://download.pingcap.com/tidb-toolkit-v5.4.0-linux-amd64.tar.gz)

> **Note:**
>
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 @@ If you want to download the latest version of `pd-ctl`, directly download the Ti

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

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

### Compile from source code

Expand Down
4 changes: 2 additions & 2 deletions pd-recover.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ To download the latest version of PD Recover, directly download the TiDB package

| Package name | OS | Architecture | SHA256 checksum |
|:---|:---|:---|:---|
| `https://download.pingcap.org/tidb-{version}-linux-amd64.tar.gz` (pd-recover) | Linux | amd64 | `https://download.pingcap.org/tidb-{version}-linux-amd64.sha256` |
| `https://download.pingcap.com/tidb-{version}-linux-amd64.tar.gz` (pd-recover) | Linux | amd64 | `https://download.pingcap.com/tidb-{version}-linux-amd64.sha256` |

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

## Quick Start

Expand Down
2 changes: 1 addition & 1 deletion sync-diff-inspector/sync-diff-inspector-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ summary: Use sync-diff-inspector to compare data and repair inconsistent data.

This guide introduces the key features of sync-diff-inspector and describes how to configure and use this tool. To download sync-diff-inspector, use one of the following methods:

+ Binary package. Click [tidb-community-toolkit-v5.4.3-linux-amd64](https://download.pingcap.org/tidb-community-toolkit-v5.4.3-linux-amd64.tar.gz) to download.
+ Binary package. Click [tidb-community-toolkit-v5.4.3-linux-amd64](https://download.pingcap.com/tidb-community-toolkit-v5.4.3-linux-amd64.tar.gz) to download.
+ Docker image. Execute the following command to download:

{{< copyable "shell-regular" >}}
Expand Down
4 changes: 2 additions & 2 deletions tidb-binlog/binlog-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ The following are its usage scenarios:
{{< copyable "shell-regular" >}}

```bash
wget https://download.pingcap.org/tidb-{version}-linux-amd64.tar.gz &&
wget https://download.pingcap.org/tidb-{version}-linux-amd64.sha256
wget https://download.pingcap.com/tidb-{version}-linux-amd64.tar.gz &&
wget https://download.pingcap.com/tidb-{version}-linux-amd64.sha256
```

To check the file integrity, execute the following command. If the result is OK, the file is correct.
Expand Down
4 changes: 2 additions & 2 deletions tidb-binlog/deploy-tidb-binlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Run the following commands to download the packages:

```bash
version="latest" for nightly builds &&
wget https://download.pingcap.org/tidb-latest-linux-amd64.{tar.gz,sha256}
wget https://download.pingcap.com/tidb-latest-linux-amd64.{tar.gz,sha256}
```

Check the file integrity. If the result is OK, the file is correct.
Expand All @@ -48,7 +48,7 @@ For TiDB v2.1.0 GA or later versions, Pump and Drainer are already included in t
{{< copyable "shell-regular" >}}

```bash
wget https://download.pingcap.org/tidb-binlog-$version-linux-amd64.{tar.gz,sha256}
wget https://download.pingcap.com/tidb-binlog-$version-linux-amd64.{tar.gz,sha256}
```

Check the file integrity. If the result is OK, the file is correct.
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-latest-linux-amd64.tar.gz | tar xzf -
curl -L https://download.pingcap.com/tidb-latest-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 -
% 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
2 changes: 1 addition & 1 deletion tidb-binlog/tidb-binlog-reparo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ summary: Learn to use Reparo.

Reparo is a TiDB Binlog tool, used to recover the incremental data. To back up the incremental data, you can use Drainer of TiDB Binlog to output the binlog data in the protobuf format to files. To restore the incremental data, you can use Reparo to parse the binlog data in the files and apply the binlog in TiDB/MySQL.

Download Reparo via [tidb-binlog-cluster-latest-linux-amd64.tar.gz](https://download.pingcap.org/tidb-binlog-cluster-latest-linux-amd64.tar.gz)
Download Reparo via [tidb-binlog-cluster-latest-linux-amd64.tar.gz](https://download.pingcap.com/tidb-binlog-cluster-latest-linux-amd64.tar.gz)

## Reparo usage

Expand Down
Loading