mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-06-20 09:47:45 +02:00
fix
This commit is contained in:
parent
8ece44487d
commit
3831e4cbac
@ -20,7 +20,7 @@ weight: 16
|
||||
开启登录的邮件验证,需要:
|
||||
|
||||
1. 设置邮件
|
||||
2. 启用 "Enable email login verification" 选项。
|
||||
2. 启用 "启用邮件登录验证" 选项。
|
||||
|
||||

|
||||
|
||||
@ -40,7 +40,7 @@ TOTP 是广泛使用的 2FA 方式,因此在 RustDesk Server Pro 的 web conso
|
||||
|
||||
### 开启 2FA
|
||||
|
||||
当设置页显示 "Enable 2FA" 的按钮时,说明 2FA 当前未开启。
|
||||
当设置页显示 "启用 2FA" 的按钮时,说明 2FA 当前未开启。
|
||||
|
||||

|
||||
|
||||
|
@ -1,24 +1,24 @@
|
||||
---
|
||||
title: 自建服务器专业版
|
||||
title: RustDesk Server Pro
|
||||
weight: 200
|
||||
pre: "<b>2.2. </b>"
|
||||
---
|
||||
|
||||
自建服务器专业版相较于开源版本拥有更多功能。
|
||||
RustDesk Server Pro 相较于开源版本拥有更多功能。
|
||||
|
||||
- 账户
|
||||
- 无限并发连接限制,即无限制的同时连接
|
||||
- [Web 控制台](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/console/)
|
||||
- API
|
||||
- [OIDC](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/oidc/),[LDAP](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/ldap/),[2FA](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/2fa/)
|
||||
- [API](https://github.com/rustdesk/rustdesk/wiki/FAQ#api-of-rustdesk-server-pro)
|
||||
- [OIDC](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/oidc/)、[LDAP](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/ldap/)、[2FA](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/2fa/)
|
||||
- 通讯录
|
||||
- 改名
|
||||
- 日志管理(连接、文件传输、告警等)
|
||||
- 设备管理
|
||||
- [安全设置同步](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/strategy/)
|
||||
- [访问控制](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/permissions/)
|
||||
- [多中继服务器](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/relay/)(自动选择离您最近的中继)
|
||||
- [自定义客户端生成器](https://rustdesk.com/docs/en/self-host/client-configuration/#1-custom-client-generator-pro-only)
|
||||
- WebSocket
|
||||
- Web 客户端自托管
|
||||
|
||||
{{% notice note %}}
|
||||
如果您在家中或办公室搭建自己的服务器,但无法通过公共 IP/域名进行连接,请查看[这篇文章](https://rustdesk.com/docs/en/self-host/nat-loopback-issues/)。
|
||||
@ -37,14 +37,9 @@ pre: "<b>2.2. </b>"
|
||||
|
||||
## 视频教程
|
||||
|
||||
网上有[许多视频教程](https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/#video-tutorials)可供参考,帮助您安装 OSS 免费版。
|
||||
[新手指南:为 Linux 新手用户自托管 RustDesk Server Pro](https://www.youtube.com/watch?v=MclmfYR3frk)
|
||||
|
||||
还有另一篇[优秀教程](https://www.linkedin.com/pulse/building-your-own-remote-desktop-solution-rustdesk-cloud-montinaro-bv94f/?trackingId=a07rn2fkBW1ctLHaJ0tVcg%3D%3D)讲解如何在 Hetzner 云上通过 Docker 自托管 OSS 免费版。
|
||||
|
||||
Pro 版本的安装几乎相同,除了以下几点不同:
|
||||
|
||||
- 需要不同的下载路径以及[Docker 镜像](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/installscript/docker/) / [compose 文件](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/installscript/docker/#docker-compose)。
|
||||
- 控制台需要额外开放 TCP 端口 21114。
|
||||
[快速指南:为高级 Linux 用户自托管 RustDesk Server Pro](https://youtu.be/gMKFEziajmo)
|
||||
|
||||
## 许可证
|
||||
|
||||
@ -56,7 +51,7 @@ Pro 版本的安装几乎相同,除了以下几点不同:
|
||||
```
|
||||
bash <(wget -qO- https://get.docker.com)
|
||||
wget rustdesk.com/pro.yml -O compose.yml
|
||||
docker compose up -d
|
||||
sudo docker compose up -d
|
||||
```
|
||||
|
||||
更多详情请查看 [Docker](/docs/en/self-host/rustdesk-server-pro/installscript/docker/)。
|
||||
@ -69,18 +64,24 @@ docker compose up -d
|
||||
|
||||
### 3、设置许可证
|
||||
|
||||
通过访问 `http://<服务器IP>:21114` 打开您的控制台,使用默认凭据 admin/test1234 登录(用户名:admin,密码:test1234)。按照[此指南](/docs/en/self-host/rustdesk-server-pro/license/#set-license)设置许可证。
|
||||
通过访问 `http://<服务器 IP>:21114` 打开您的 Web 控制台,使用默认凭据 `admin`/`test1234` [登录](/docs/en/self-host/rustdesk-server-pro/console/#log-in)。按照[此指南](/docs/en/self-host/rustdesk-server-pro/license/#set-license)设置许可证。
|
||||
|
||||
### 4、为控制台配置 HTTPS
|
||||
### 4、为 Web 控制台设置 HTTPS
|
||||
|
||||
> 如果在试用期间您不希望使用 HTTPS,可以跳过此步骤,但配置 HTTPS 后请记得更改客户端的 API 地址
|
||||
> 如果在试用期间您不希望使用 HTTPS,可以跳过此步骤,但设置 HTTPS 后请记得更改客户端的 API 地址
|
||||
|
||||
这里提供了一篇[手动配置 HTTPS 的简单教程](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#set-up-https-for-web-console-manually)。
|
||||
这里有一个[手动设置 HTTPS](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#set-up-https-for-web-console-manually) 的简单教程。
|
||||
|
||||
### 5、配置客户端使用自托管服务器
|
||||
|
||||
https://rustdesk.com/docs/en/self-host/client-configuration/
|
||||
|
||||
### 6、设置 WebSocket
|
||||
|
||||
要使 Web 客户端或[桌面/移动客户端](/docs/en/self-host/client-configuration/advanced-settings/#allow-websocket)能够通过 WebSocket 正常工作,您需要在反向代理配置中添加以下设置。
|
||||
|
||||
https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#8-add-websocket-secure-wss-support-for-the-id-server-and-relay-server-to-enable-secure-communication-for-all-platforms
|
||||
|
||||
## 升级服务器
|
||||
|
||||
本[指南](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#there-is-a-new-version-of-rustdesk-server-pro-out-how-can-i-upgrade)介绍了如何从旧版本升级到 RustDesk Server Pro,涵盖了不同的安装方法。
|
||||
|
@ -71,7 +71,7 @@ sudo docker compose up -d
|
||||
|
||||
> 如果您在試用期間不想使用 HTTPS,可以跳過此步驟,但請記住在設定 HTTPS 後更改客戶端的 API 位址
|
||||
|
||||
這裡有一個簡單的[手動 HTTPS 設定](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#set-up-https-for-web-console-manually)教學。
|
||||
這裡有一個[手動設定 HTTPS](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#set-up-https-for-web-console-manually) 的簡單教學。
|
||||
|
||||
### 5. 設定客戶端使用自架伺服器
|
||||
|
||||
@ -83,6 +83,12 @@ https://rustdesk.com/docs/en/self-host/client-configuration/
|
||||
|
||||
https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#8-add-websocket-secure-wss-support-for-the-id-server-and-relay-server-to-enable-secure-communication-for-all-platforms
|
||||
|
||||
### 6. 設定 WebSocket
|
||||
|
||||
要啟用網頁客戶端或[桌面/行動客戶端](/docs/en/self-host/client-configuration/advanced-settings/#allow-websocket)使用 WebSocket 正常運作,您需要將以下設定加入您的反向代理設定中。
|
||||
|
||||
https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#8-add-websocket-secure-wss-support-for-the-id-server-and-relay-server-to-enable-secure-communication-for-all-platforms
|
||||
|
||||
|
||||
## 升級伺服器
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: FAQ
|
||||
title: 常见问题
|
||||
weight: 600
|
||||
---
|
||||
|
||||
|
@ -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。
|
||||
|
@ -27,9 +27,9 @@ weight: 16
|
||||
|
||||
请进入Web控制台的群组页面,点击`编辑`来编辑跨群组设置,如下所示。
|
||||
|
||||
您对`Access with other groups`的修改会立即生效,无需单击`确定`按钮。
|
||||
您对`与其他群组的访问权限`的修改会立即生效,无需单击`确定`按钮。
|
||||
|
||||
`Can access to`和`Can be accessed from`提供几乎相同的功能,我们提供这两个选项是为了您的方便。 然而,这可能会引起一些混乱。
|
||||
`可以访问`和`可以被访问`提供几乎相同的功能,我们提供这两个选项是为了您的方便。然而,这可能会引起一些混乱。
|
||||
|
||||
{{% notice note %}}
|
||||
主控端所在的用户和组是由登录的用户决定,而不是从 Web 控制台分配的用户决定。 我们这样设计是因为某些主控端没有设备ID,例如iOS客户端和Web客户端。
|
||||
|
@ -105,9 +105,9 @@ To Action From
|
||||
<br>
|
||||
<img width="500" alt="image" src="https://github.com/rustdesk/doc.rustdesk.com/assets/642149/3e178174-5fbf-46b7-a335-01f77125dfad">
|
||||
|
||||
您可以通过几种方式自动化[下载过程](https://dev.maxmind.com/geoip/updating-databases),但您可以将以下命令添加到您的crontab中,将{Your Access Key}替换为您从上一步获得的API密钥。
|
||||
您可以通过几种方式自动化[下载过程](https://dev.maxmind.com/geoip/updating-databases),但您可以将以下命令添加到您的crontab中,将{您的访问密钥}替换为您从上一步获得的API密钥。
|
||||
```
|
||||
/usr/bin/curl -L --silent 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={Your Access Key}&suffix=tar.gz' | /bin/tar -C '/var/lib/rustdesk-server/' -xvz --keep-newer-files --strip-components=1 --wildcards '*GeoLite2-City.mmdb'
|
||||
/usr/bin/curl -L --silent 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={您的访问密钥}&suffix=tar.gz' | /bin/tar -C '/var/lib/rustdesk-server/' -xvz --keep-newer-files --strip-components=1 --wildcards '*GeoLite2-City.mmdb'
|
||||
```
|
||||
|
||||
### 在RustDesk Pro Web控制台中更改设置
|
||||
|
@ -103,10 +103,10 @@ To Action From
|
||||
<br>
|
||||
<img width="500" alt="image" src="https://github.com/rustdesk/doc.rustdesk.com/assets/642149/3e178174-5fbf-46b7-a335-01f77125dfad">
|
||||
|
||||
您可以通過幾種方式自動化[下載過程](https://dev.maxmind.com/geoip/updating-databases),但您可以將以下命令添加到您的crontab中,將{Your Access Key}替換為您從上一步獲得的API密鑰。
|
||||
您可以通過幾種方式自動化[下載過程](https://dev.maxmind.com/geoip/updating-databases),但您可以將以下命令添加到您的crontab中,將{您的訪問密鑰}替換為您從上一步獲得的API密鑰。
|
||||
|
||||
```
|
||||
/usr/bin/curl -L --silent 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={Your Access Key}&suffix=tar.gz' | /bin/tar -C '/var/lib/rustdesk-server/' -xvz --keep-newer-files --strip-components=1 --wildcards '*GeoLite2-City.mmdb'
|
||||
/usr/bin/curl -L --silent 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key={您的訪問密鑰}&suffix=tar.gz' | /bin/tar -C '/var/lib/rustdesk-server/' -xvz --keep-newer-files --strip-components=1 --wildcards '*GeoLite2-City.mmdb'
|
||||
```
|
||||
|
||||
### 在RustDesk Pro Web控制台中更改設置
|
||||
|
@ -16,7 +16,7 @@ weight: 200
|
||||

|
||||
|
||||
|
||||
# 设备策略、用户策略和设备组策略
|
||||
## 设备策略、用户策略和设备组策略
|
||||
|
||||
策略按照以下优先级顺序应用:
|
||||
1. 设备策略(最高优先级)
|
||||
|
Loading…
x
Reference in New Issue
Block a user