mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-10 17:56:10 +00:00
fix
This commit is contained in:
@@ -3,7 +3,7 @@ title: 安装
|
||||
weight: 2
|
||||
---
|
||||
|
||||
## 方法1:Docker (Recommended)
|
||||
## 方法1:Docker (推荐)
|
||||
|
||||
```
|
||||
bash <(wget -qO- https://get.docker.com)
|
||||
@@ -11,20 +11,20 @@ wget rustdesk.com/pro.yml -O compose.yml
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
For more details, please check [Docker](/docs/en/self-host/rustdesk-server-pro/installscript/docker/).
|
||||
更多详情,请查看 [Docker](/docs/zh-cn/self-host/rustdesk-server-pro/installscript/docker/)。
|
||||
|
||||
## 方法 2:install.sh
|
||||
|
||||
If you are proficient in Linux, please use the script below. Otherwise, you may encounter significant issues if it fails, and it could be difficult to determine why it isn’t working.
|
||||
如果您精通 Linux,请使用下面的脚本。否则,如果脚本执行失败,您可能会遇到严重问题,并且很难确定问题原因。
|
||||
|
||||
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
|
||||
|
||||
For more details, please check [install.sh](/docs/en/self-host/rustdesk-server-pro/installscript/script/).
|
||||
更多详情,请查看 [install.sh](/docs/zh-cn/self-host/rustdesk-server-pro/installscript/script/)。
|
||||
|
||||
## Convert from open source
|
||||
## 从开源版本转换
|
||||
|
||||
### Docker
|
||||
If you install the open-source version using Docker, there is no direct way to convert it. Instead, you’ll need to run a new container with the Pro image. Before doing this, please back up your private key (the `id_ed25519` file, not `id_ed25519.pub`). Once the new container is set up, copy the old `id_ed25519` private key file to the working directory of the new container, then restart the container.
|
||||
如果您使用 Docker 安装了开源版本,没有直接的转换方法。相反,您需要使用 Pro 镜像运行一个新容器。在执行此操作之前,请备份您的私钥(`id_ed25519` 文件,而不是 `id_ed25519.pub`)。设置新容器后,将旧的 `id_ed25519` 私钥文件复制到新容器的工作目录中,然后重启容器。
|
||||
|
||||
### install.sh
|
||||
If you install the open-source version using install.sh, please follow [this](/docs/en/self-host/rustdesk-server-pro/installscript/script/#convert-from-open-source).
|
||||
如果您使用 install.sh 安装了开源版本,请参考[这里](/docs/zh-cn/self-host/rustdesk-server-pro/installscript/script/#convert-from-open-source)。
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
title: Installation
|
||||
title: 安裝
|
||||
weight: 2
|
||||
---
|
||||
|
||||
## 方法 1:Docker (Recommended)
|
||||
## 方法 1:Docker (建議)
|
||||
|
||||
```
|
||||
bash <(wget -qO- https://get.docker.com)
|
||||
@@ -11,20 +11,20 @@ wget rustdesk.com/pro.yml -O compose.yml
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
For more details, please check [Docker](/docs/en/self-host/rustdesk-server-pro/installscript/docker/).
|
||||
更多詳情,請查看 [Docker](/docs/zh-tw/self-host/rustdesk-server-pro/installscript/docker/)。
|
||||
|
||||
## 方法 2:install.sh
|
||||
|
||||
If you are proficient in Linux, please use the script below. Otherwise, you may encounter significant issues if it fails, and it could be difficult to determine why it isn’t working.
|
||||
如果您精通 Linux,請使用下面的腳本。否則,如果腳本執行失敗,您可能會遇到嚴重問題,並且很難確定問題原因。
|
||||
|
||||
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
|
||||
|
||||
For more details, please check [install.sh](/docs/en/self-host/rustdesk-server-pro/installscript/script/).
|
||||
更多詳情,請查看 [install.sh](/docs/zh-tw/self-host/rustdesk-server-pro/installscript/script/)。
|
||||
|
||||
## Convert from open source
|
||||
## 從開源版本轉換
|
||||
|
||||
### Docker
|
||||
If you install the open-source version using Docker, there is no direct way to convert it. Instead, you’ll need to run a new container with the Pro image. Before doing this, please back up your private key (the `id_ed25519` file, not `id_ed25519.pub`). Once the new container is set up, copy the old `id_ed25519` private key file to the working directory of the new container, then restart the container.
|
||||
如果您使用 Docker 安裝了開源版本,沒有直接的轉換方法。相反,您需要使用 Pro 鏡像運行一個新容器。在執行此操作之前,請備份您的私鑰(`id_ed25519` 文件,而不是 `id_ed25519.pub`)。設置新容器後,將舊的 `id_ed25519` 私鑰文件複製到新容器的工作目錄中,然後重啟容器。
|
||||
|
||||
### install.sh
|
||||
If you install the open-source version using install.sh, please follow [this](/docs/en/self-host/rustdesk-server-pro/installscript/script/#convert-from-open-source).
|
||||
如果您使用 install.sh 安裝了開源版本,請參考[這裡](/docs/zh-tw/self-host/rustdesk-server-pro/installscript/script/#convert-from-open-source)。
|
||||
@@ -33,9 +33,9 @@ GUI 版本 `RustDeskServer.setup.exe` 已不再维护,不推荐使用。
|
||||
2. 为 RustDesk 创建一个新网站,设置绑定(理想情况下为 443)和相关证书。基本设置应该指向一个空白文件夹。(如果您使用默认站点,请确保文件夹中没有其他文件)。
|
||||
3. 在 IIS 上,安装 [Application Request Routing](https://www.iis.net/downloads/microsoft/application-request-routing) 和 [URL Rewrite](https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-the-url-rewrite-module)。
|
||||
|
||||
## Application Request Routing
|
||||
## 应用程序请求路由
|
||||
|
||||
1. 在 IIS 服务器主机下打开 Application Request Routing。
|
||||
1. 在 IIS 服务器主机下打开应用程序请求路由。
|
||||
2. 转到 Server Proxy Settings。
|
||||
3. 启用代理,所有设置都会出现,您可以保持默认值。
|
||||
4. 保存设置,然后我们可以进入下一步:URL Rewrite。
|
||||
|
||||
@@ -33,9 +33,9 @@ GUI 版本 `RustDeskServer.setup.exe` 已不再維護,不推薦使用。
|
||||
2. 為 RustDesk 建立一個新網站,設置繫定(理想情況下為 443)和相關證書。基本設置應該指向一個空白資料夾。(如果您使用預設站點,請確保資料夾中沒有其他檔案)。
|
||||
3. 在 IIS 上,安裝 [Application Request Routing](https://www.iis.net/downloads/microsoft/application-request-routing) 和 [URL Rewrite](https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-the-url-rewrite-module)。
|
||||
|
||||
## Application Request Routing
|
||||
## 應用程式要求路由
|
||||
|
||||
1. 在 IIS 伺服器主機下打開 Application Request Routing。
|
||||
1. 在 IIS 伺服器主機下打開應用程式要求路由。
|
||||
2. 轉到 Server Proxy Settings。
|
||||
3. 啟用代理,所有設置都會出現,您可以保持預設值。
|
||||
4. 保存設置,然後我們可以進入下一步:URL Rewrite。
|
||||
|
||||
Reference in New Issue
Block a user