-
Notifications
You must be signed in to change notification settings - Fork 709
v6.5-v8.1: update download URL from pingcap.org to pingcap.com #22241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: release-7.5
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -42,14 +42,14 @@ sudo yum install -y mariadb-server | |||||
| ``` | ||||||
|
|
||||||
| ```bash | ||||||
| curl -L https://download.pingcap.org/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz | tar xzf - | ||||||
| curl -L https://download.pingcap.com/tidb-community-server-v{{{ .tidb-version }}}-linux-amd64.tar.gz | tar xzf - | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and consistency with the example output that follows (line 52), consider using the
Suggested change
|
||||||
| 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 - | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The command
Suggested change
|
||||||
| % 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 | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -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 `v{{{ .tidb-version }}}` in the `amd64` architecture is `https://download.pingcap.org/tidb-community-toolkit-v{{{ .tidb-version }}}-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 `v{{{ .tidb-version }}}` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v{{{ .tidb-version }}}-linux-amd64.tar.gz`. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The example download link refers to
Suggested change
|
||||||
|
|
||||||
| 2. In the extracted files, locate `prometheus-v{version}-linux-{arch}.tar.gz` and extract it. | ||||||
|
|
||||||
|
|
@@ -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 `v{{{ .tidb-version }}}` in the `amd64` architecture is `https://download.pingcap.org/tidb-community-toolkit-v{{{ .tidb-version }}}-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 `v{{{ .tidb-version }}}` in the `amd64` architecture is `https://download.pingcap.com/tidb-community-toolkit-v{{{ .tidb-version }}}-linux-amd64.tar.gz`. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to a previous comment, the example download link here refers to
Suggested change
|
||||||
|
|
||||||
| 2. In the extracted files, locate `grafana-v{version}-linux-{arch}.tar.gz` and extract it. | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an inconsistency between the downloaded filename and the one used for extraction. The
wgetcommand here downloads a version-specific file, but thetarcommand on the next line attempts to extracttidb-latest-linux-amd64.tar.gz. To ensure the commands work as expected, it's best to download thelatestversion directly.