Skip to content

Commit

Permalink
docs: modify install by source ref version
Browse files Browse the repository at this point in the history
Signed-off-by: 赵安家 <[email protected]>
  • Loading branch information
anjia0532 committed Mar 8, 2022
1 parent 56bb166 commit 1d78e49
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 37 deletions.
14 changes: 10 additions & 4 deletions docs/en/deployment/installation/executable-files/cdn.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ When deploying with physical machines, the following conditions must be met.
| Required Software | Version Limit |
| ----------------- | ------------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Golang | 1.16.x |
| Nginx | 0.8+ |

## Procedure - When Deploying with Physical Machines
Expand All @@ -21,15 +21,21 @@ When deploying with physical machines, the following conditions must be met.
[github releases page](https://github.com/dragonflyoss/Dragonfly2/releases).

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. Unzip the package.

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3. Move the `cdn` to your `PATH` environment variable to
Expand Down
14 changes: 10 additions & 4 deletions docs/en/deployment/installation/executable-files/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ When deploying with physical machines, the following conditions must be met.
| Required Software | Version Limit |
| ----------------- | ------------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Golang | 1.16.x |

## Procedure - When Deploying with Physical Machines

Expand All @@ -20,15 +20,21 @@ When deploying with physical machines, the following conditions must be met.
[github releases page](https://github.com/dragonflyoss/Dragonfly2/releases).

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. Unzip the package.

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3. Move the `dfget` to your `PATH` environment variable to
Expand Down
17 changes: 11 additions & 6 deletions docs/en/deployment/installation/executable-files/manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ This topic explains how to install the Dragonfly manager server.
When deploying with physical machines, the following conditions must be met.

| Required Software | Version Limit |
| ----------------- | ------------- |
| ----------------- |---------------|
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Nginx | 0.8+ |
| Golang | 1.16.x |

## Procedure - When Deploying with Physical Machines

Expand All @@ -21,15 +20,21 @@ When deploying with physical machines, the following conditions must be met.
the [github releases page](https://github.com/dragonflyoss/Dragonfly2/releases).

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. Unzip the package.

```sh
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3. Move the `manager` to your `PATH` environment variable
Expand Down
15 changes: 10 additions & 5 deletions docs/en/deployment/installation/executable-files/scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ When deploying with physical machines, the following conditions must be met.
| Required Software | Version Limit |
| ----------------- | ------------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Nginx | 0.8+ |
| Golang | 1.16.x |

## Procedure - When Deploying with Physical Machines

Expand All @@ -21,15 +20,21 @@ When deploying with physical machines, the following conditions must be met.
Dragonfly on the [github releases page](https://github.com/dragonflyoss/Dragonfly2/releases).

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. Unzip the package.

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3. Move the `scheduler` to your `PATH` environment
Expand Down
14 changes: 10 additions & 4 deletions docs/zh-CN/deployment/installation/executable-files/cdn.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| 所需软件 | 版本要求 |
| -------- | -------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Golang | 1.16.x |
| Nginx | 0.8+ |

## 在物理机上部署
Expand All @@ -21,15 +21,21 @@
下载一个已发布的最近版本

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. 解压压缩包

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3.`cdn` 移动到环境变量 `PATH` 下以确保您可以直接使用 `cdn` 命令
Expand Down
14 changes: 10 additions & 4 deletions docs/zh-CN/deployment/installation/executable-files/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| 所需软件 | 版本要求 |
| -------- | -------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Golang | 1.16.x |

## 在物理机上部署

Expand All @@ -20,15 +20,21 @@
下载一个已发布的最近版本

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. 解压压缩包

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3.`dfget` 移动到环境变量 `PATH` 下以确保您可以直接使用 `dfget` 命令
Expand Down
15 changes: 10 additions & 5 deletions docs/zh-CN/deployment/installation/executable-files/manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
| 所需软件 | 版本要求 |
| -------- | -------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Nginx | 0.8+ |
| Golang | 1.16.x |

## 在物理机上部署

Expand All @@ -21,15 +20,21 @@
下载一个已发布的最近版本

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. 解压压缩包

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3.`manager` 移动到环境变量 `PATH` 下以确保您可以直接使用 `manager` 命令
Expand Down
15 changes: 10 additions & 5 deletions docs/zh-CN/deployment/installation/executable-files/scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
| 所需软件 | 版本要求 |
| -------- | -------- |
| Git | 1.9.1+ |
| Golang | 1.12.x |
| Nginx | 0.8+ |
| Golang | 1.16.x |

## 在物理机上部署

Expand All @@ -21,15 +20,21 @@
下载一个已发布的最近版本

```sh
version=2.0.0
wget https://github.com/dragonflyoss/Dragonfly2/releases/download/v$version/Dragonfly2_$version_linux_amd64.tar.gz
# latest version
# version=$(https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.latest)

# stable version
version=$(curl -s https://raw.githubusercontent.com/dragonflyoss/Dragonfly2/main/version/version.stable)

wget -o Dragonfly2_linux_amd64.tar.gz \
https://github.com/dragonflyoss/Dragonfly2/releases/download/v${version}/Dragonfly2_${version}_linux_amd64.tar.gz
```

2. 解压压缩包

```bash
# Replace `xxx` with the installation directory.
tar -zxf Dragonfly2_2.0.0_linux_amd64.tar.gz -C xxx
tar -zxf Dragonfly2_linux_amd64.tar.gz -C xxx
```

3.`scheduler` 移动到环境变量 `PATH` 下以确保您可以直接使用 `scheduler` 命令
Expand Down

0 comments on commit 1d78e49

Please sign in to comment.