more langs

This commit is contained in:
rustdesk 2022-04-11 19:23:47 +08:00
parent 825f363573
commit 3ea1044c96
26 changed files with 358 additions and 52 deletions

View File

@ -45,6 +45,38 @@ languageName = "Français"
landingPageURL = "/fr"
landingPageName = "<i class='fas fa-home'></i> Accueil"
[Languages.ru]
title = "Документация для RustDesk"
weight = 2
languageName = "Русский"
landingPageURL = "/ru"
landingPageName = "<i class='fas fa-home'></i> Дом"
[Languages.it]
title = "Documentazione per RustDesk"
weight = 2
languageName = "Italiano"
landingPageURL = "/it"
landingPageName = "<i class='fas fa-home'></i> Casa"
[Languages.de]
title = "Dokumentation für RustDesk"
weight = 2
languageName = "Deutsch"
landingPageURL = "/de"
landingPageName = "<i class='fas fa-home'></i> Heim"
[Languages.jp]
title = "RustDeskのドキュメント"
weight = 2
languageName = "日本語"
landingPageURL = "/jp"
landingPageName = "<i class='fas fa-home'></i> ホームページ"
[[Languages.fr.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> Repo GitHub"
identifier = "ds"
@ -58,6 +90,13 @@ languageName = "简体中文"
landingPageURL = "/zh"
landingPageName = "<i class='fas fa-home'></i> 首页"
[Languages.tw]
title = "RustDesk文檔"
weight = 3
languageName = "繁體中文"
landingPageURL = "/tw"
landingPageName = "<i class='fas fa-home'></i> 首頁"
[[Languages.zh.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> GitHub 仓库"
identifier = "ds"

6
content/_index.de.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "RustDesk-Dokumentation"
---
# RustDesk

6
content/_index.it.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Documentazione di RustDesk"
---
# RustDesk

6
content/_index.jp.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "RustDeskのドキュメント"
---
# RustDesk

6
content/_index.ru.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "Документация для RustDesk"
---
# RustDesk

5
content/_index.tw.md Normal file
View File

@ -0,0 +1,5 @@
---
title: "RustDesk文檔"
---
# RustDesk

12
content/self-host/_index.de.md Executable file
View File

@ -0,0 +1,12 @@
---
title: Selbst-Host
weight: 5
pre: "<b>1. </b>"
chapter: true
---
### Chapter 1
# Selbst-Host
Wir entwickeln den Server kontinuierlich weiter. Wenn Sie Kommentare haben, nehmen Sie bitte an unserer [Discord](https://discord.com/invite/nDceKgxnkV)-Diskussion teil.

12
content/self-host/_index.it.md Executable file
View File

@ -0,0 +1,12 @@
---
title: Self-host
weight: 5
pre: "<b>1. </b>"
chapter: true
---
### Capitolo 1
# Self-host
Stiamo sviluppando continuamente il server, se hai commenti, partecipa alla nostra discussione su [Discord](https://discord.com/invite/nDceKgxnkV).

12
content/self-host/_index.jp.md Executable file
View File

@ -0,0 +1,12 @@
---
title: セルフホスト
weight: 5
pre: "<b>1. </b>"
chapter: true
---
### 章 1
# セルフホスト
サーバーの開発は継続的に行っています。コメントがあれば、[Discord]https://discord.com/invite/nDceKgxnkVのディスカッションに参加してください。

12
content/self-host/_index.ru.md Executable file
View File

@ -0,0 +1,12 @@
---
title: Самостоятельный хост
weight: 5
pre: "<b>1. </b>"
chapter: true
---
### Глава 1
# Самостоятельный хост
Wir entwickeln den Server kontinuierlich weiter. Wenn Sie Kommentare haben, nehmen Sie bitte an unserer [Discord](https://discord.com/invite/nDceKgxnkV)-Diskussion teil.

12
content/self-host/_index.tw.md Executable file
View File

@ -0,0 +1,12 @@
---
title: 自建服務器
weight: 5
pre: "<b>1. </b>"
chapter: true
---
### 章節 1
# 自建服務器
我們在持續開發服務器,如果您有什麼意見,請加入我們的[Discord](https://discord.com/invite/nDceKgxnkV)討論。

View File

@ -0,0 +1,6 @@
---
title: Installation
weight: 10
---
[English](/docs/en/self-host/install)

View File

@ -26,9 +26,9 @@ They are built on Centos7, tested on Centos7/8, Ubuntu 18/20.
Run hbbs/hbbr on your server (Centos or Ubuntu). We suggust you use [pm2](https://pm2.keymetrics.io/) managing your service.
By default, hbbs listens on 21115(tcp) and 21116(tcp/udp), hbbr listens on 21117(tcp). Be sure to open these ports in the firewall.
By default, hbbs listens on 21114(tcp), 21115(tcp) and 21116(tcp/udp), 21118(tcp), hbbr listens on 21117(tcp), 21119(tcp). Be sure to open these ports in the firewall. **Please note that 21116 should be enabled both for TCP and UDP**. 21114 is for web console + API, 21115 is used for NAT type test, 21116/UDP is used for ID registration and heartbeat service, 21116/TCP is used for TCP hole punching and connection service, 21117 is used for Relay services, 21118 and 21119 are used to support web clients. If you do not need web console + API (21114) or web client (21118, 21119) support, the corresponding ports can be disabled.
- TCP(21115, 21116, 21117)
- TCP(21114, 21115, 21116, 21117, 21118, 21119)
- UDP(21116)
Please run with "-h" option to see help if you wanna choose your own port.
@ -36,10 +36,9 @@ Please run with "-h" option to see help if you wanna choose your own port.
#### Docker example
```
sudo docker image pull rustdesk/rustdesk-server
sudo docker run --name hbbr -p 21117:21117 -v `pwd`:/root -it --rm rustdesk/rustdesk-server hbbr -m <registered_email>
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -v `pwd`:/root -it --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip> -m <registered_email>
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --rm rustdesk/rustdesk-server hbbr -m <registered_email>
sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip> -m <registered_email>
```
- Note: If you wish to host the server on your own for demonstration or testing purposes, you can specificy `demo` within the `<registered_email>` flag. This will allow your server to run for 30 days.
### STEP-3 : Set hbbs/hbbr address on client-side
@ -48,20 +47,35 @@ Click on menu button on the right side of ID as below, choose "ID/Relay Server".
![](/docs/en/self-host/install/images/server-set-menu.png)
Please input hbbs host or ip address in ID server input box on remote and local side, and hbbr host or ip address in relay server input box on remote side.
Enter the hbbs host or ip address in the ID server input box (local side + remote side), the other two addresses can be left blank, RustDesk will automatically deduce (if not specially set), and the relay server refers to hbbr ( 21116 port), the API server refers to above web console + API (21114) port.
**Please note** The Key in the picture does not refer to the registered email address, the [next section](#key) will explain in detail.
e.g.
```
hbbs.yourhost.com
hbbr.yourhost.com
```
or
```
hbbs.yourhost.com:21116
hbbr.yourhost.com:21117
```
![](/docs/en/self-host/install/images/server-set-window.png)
### Key
Different from the old version, the Key in this version is mandatory. When hbbs runs for the first time, it will automatically generate a pair of encrypted private key and public key (respectively located in the `id_ed25519` and `id_ed25519.pub` files in the running directory), its main purpose is for communication encryption, if you did not fill in the Key in the previous step (the content in the public key file `id_ed25519.pub`),
````
cat ./id_ed25519.pub
````
does not affect the connection, but the connection cannot be encrypted. If you prohibit users without keys from establishing non-encrypted connections, please add the `-k _` parameter when running hbbs and hbbr, for example:
````
./hbbs -r <address of the host where hbbr is running> -k _
./hbbr -k _
````
***Key can also be seen on the console homepage***

View File

@ -1,42 +1,6 @@
---
title: Linux
title: Installer
weight: 10
---
### Installer NodeJs
Veuillez [Télécharger](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) et installer.
NodeJs est l'environnement d'exécution de pm2, vous devez donc d'abord installer NodeJs。
### Installer pm2
Entrez ci-dessous dans cmd.exe, appuyez sur la touche Entrée pour chaque ligne et exécutez-les ligne par ligne.
```
npm install -g pm2
npm install pm2-windows-startup -g
pm2-startup install
```
### Exécutez hbbr et hbbs
Téléchargez la version Windows du [programme serveur](https://github.com/rustdesk/rustdesk-server/releases), en supposant que vous la décompressez sur le lecteur C. Exécutez respectivement les quatre lignes de commandes suivantes.
```
cd c:\rustdesk-server-windows-x64
pm2 start hbbr.exe -- -m <Adresse e-mail enregistrée>
pm2 start hbbs.exe -- -r <L'adresse de l'hôte sur lequel hbbr est exécuté> -m <Adresse e-mail enregistrée>
pm2 save
```
### Afficher le journal
```
pm2 log hbbr
pm2 log hbbs
```
### Modifier l'e-mail
Par exemple, la nouvelle adresse e-mail enregistrée est test@test.com, et l'adresse publique de hbbr est test.hbbr.com
```
pm2 delete hbbr hbbs
cd c:\rustdesk-server-windows-x64
pm2 start hbbr.exe -- -m test@test.com
pm2 start hbbs.exe -- -r test.hbbr.com -m test@test.com
pm2 save
```
[English](/docs/en/self-host/install)

View File

@ -0,0 +1,6 @@
---
title: Installazione
weight: 10
---
[English](/docs/en/self-host/install)

View File

@ -0,0 +1,6 @@
---
title: インストール
weight: 10
---
[English](/docs/en/self-host/install)

View File

@ -0,0 +1,6 @@
---
title: Установка
weight: 10
---
[English](/docs/en/self-host/install)

View File

@ -0,0 +1,94 @@
---
title: 安裝
weight: 10
---
## 如何自建中繼
-----------
### 步驟1: 下載服務器端軟件程序
[下載](https://gitee.com/rustdesk/rustdesk-server/)或者使用docker rustdesk/rustdesk-server**注意** 你需要[購買許可](https://rustdesk.com/server/)才能正常運行本程序
提供三個版本:
- Linux
- Windows
以下針對Linux版本做使用說明。
有兩個可執行文件:
- hbbs - RustDesk ID註冊服務器
- hbbr - RustDesk 中繼服務器
下載後務必
```
chmod a+x hbbs hbbr
```
Linux版本在Centos7構建在 Centos7/8Ubuntu 18/20上測試過Debian系列的發行版本應該都沒有問題。如果有其他發行版本需求請聯繫我。
#### 服務器要求
硬件要求很低最低配置的雲服務器就可以了CPU和內存要求都是最小的。關於網絡大小如果TCP打洞直連失敗就要耗費中繼流量一個中繼連接的流量在30k-3M每秒之間1920x1080屏幕取決於清晰度設置和畫面變化如果只是辦公需求平均在100K。
### 步驟2: 在服務器上運行 hbbs 和 hbbr
在服務器上運行 hbbs/hbbr (Centos 或 Ubuntu)。建議使用[pm2](https://pm2.keymetrics.io/) 管理服務。
需要先運行 hbbr, 可以不帶任何參數;
然後運行 hbbs:
```
./hbbs -r <hbbr運行所在主機的地址>
```
hhbs的-r參數不是必須的他只是方便你不用在客戶端指定中繼服務器。客戶端指定的中繼服務器優先級高於這個。
默認情況下hbbs 監聽21114(tcp), 21115(tcp), 21116(tcp/udp), 21118(tcp)hbbr 監聽21117(tcp), 21119(tcp)。務必在防火牆開啟這幾個端口, **請注意21116同時要開啟TCP和UDP**。其中21114是網頁控制台+API21115是hbbs用作NAT類型測試21116/UDP是hbbs用作ID註冊與心跳服務21116/TCP是hbbs用作TCP打洞與連接服務21117是hbbr用作中繼服務, 21118和21119是為了支持網頁客戶端。如果您不需要網頁控制端+API21114或者網頁客戶端2111821119支持對應端口可以不開。
- TCP(21114, 21115, 21116, 21117, 21118, 21119)
- UDP(21116)
如果你想選擇**自己的端口**,使用 “-h” 選項查看幫助。
#### Docker示範
```
sudo docker image pull rustdesk/rustdesk-server
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --rm rustdesk/rustdesk-server hbbr -m <registered_email>
sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip> -m <registered_email>
```
### 步驟3: 在客戶端設置 hbbs/hbbr 地址
點擊 ID 右側的菜單按鈕如下,選擇“ ID/中繼服務器”。
![](/docs/en/self-host/install/images/server-set-menu-zh.png)
在 ID 服務器輸入框中(被控端+主控端)輸入 hbbs 主機或 ip 地址另外兩個地址可以不填RustDesk會自動推導如果沒有特別設定中繼服務器指的是hbbr21116端口API服務器指的是上面的網頁控制台+API21114
**請注意**圖中的Key不是指的註冊郵箱[下節](#key)將會具體解釋。
例如:
```
hbbs.yourhost.com
```
或者
```
hbbs.yourhost.com:21116
```
![](/docs/en/self-host/install/images/server-set-window-zh.png)
### Key
同上個版本不同本版本中的Key是強制的hbbs在第一次運行時會自動產生一對加密私鑰和公鑰分別位於運行目錄下的`id_ed25519`和`id_ed25519.pub`文件中其主要用途是為了通訊加密如果您在上一步驟中沒有填寫Key(公鑰文件`id_ed25519.pub`中的內容)
```
cat ./id_ed25519.pub
```
不影響連接但是連接無法加密。如果您禁止沒有Key的用戶建立非加密連接請在運行hbbs和hbbr的時候添加`-k _ `參數,例如:
```
./hbbs -r <hbbr運行所在主機的地址> -k _
./hbbr -k _
```
***在控制台首頁也可以看到Key***

View File

@ -41,7 +41,7 @@ Linux版本在Centos7构建在 Centos7/8Ubuntu 18/20上测试过Debian
```
hhbs的-r参数不是必须的他只是方便你不用在客户端指定中继服务器。客户端指定的中继服务器优先级高于这个。
默认情况下hbbs 监听21114(tcp), 21115(tcp), 21116(tcp/udp), 21118(tcp)hbbr 监听21117(tcp), 21119(tcp)。务必在防火墙开启这几个端口, **请注意21116同时要开启TCP和UDP**。其中21115是hbbs用作NAT类型测试21116/UDP是hbbs用作ID注册与心跳服务21116/TCP是hbbs用作TCP打洞与连接服务21117是hbbr用作中继服务, 21118和21119是为了支持网页客户端21114是网页控制台和API
默认情况下hbbs 监听21114(tcp), 21115(tcp), 21116(tcp/udp), 21118(tcp)hbbr 监听21117(tcp), 21119(tcp)。务必在防火墙开启这几个端口, **请注意21116同时要开启TCP和UDP**。其中21114是网页控制台+API21115是hbbs用作NAT类型测试21116/UDP是hbbs用作ID注册与心跳服务21116/TCP是hbbs用作TCP打洞与连接服务21117是hbbr用作中继服务, 21118和21119是为了支持网页客户端。如果您不需要网页控制端+API21114或者网页客户端2111821119支持对应端口可以不开
- TCP(21114, 21115, 21116, 21117, 21118, 21119)
- UDP(21116)
@ -61,9 +61,9 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
![](/docs/en/self-host/install/images/server-set-menu-zh.png)
在 ID 服务器输入框中(被控端+主控端)输入 hbbs 主机或 ip 地址,在中继服务器输入框中(被控制的一端,主控端无需设置)输入 hbbr 主机或 ip 地址
在 ID 服务器输入框中(被控端+主控端)输入 hbbs 主机或 ip 地址,另外两个地址可以不填RustDesk会自动推导如果没有特别设定中继服务器指的是hbbr21116端口API服务器指的是上面的网页控制台+API21114
**请注意**图中的Key不是指的注册邮箱对应的是hhbr/hhbs的-k参数这是为了防止别人盗用你的hbbr/hbbs使用
**请注意**图中的Key不是指的注册邮箱[下节](#key)将会具体解释
例如:
@ -77,3 +77,20 @@ hbbs.yourhost.com
hbbs.yourhost.com:21116
```
![](/docs/en/self-host/install/images/server-set-window-zh.png)
### Key
同上个版本不同本版本中的Key是强制的hbbs在第一次运行时会自动产生一对加密私钥和公钥分别位于运行目录下的`id_ed25519`和`id_ed25519.pub`文件中其主要用途是为了通讯加密如果您在上一步骤中没有填写Key(公钥文件`id_ed25519.pub`中的内容)
```
cat ./id_ed25519.pub
```
不影响连接但是连接无法加密。如果您禁止没有Key的用户建立非加密连接请在运行hbbs和hbbr的时候添加`-k _ `参数,例如:
```
./hbbs -r <hbbr运行所在主机的地址> -k _
./hbbr -k _
```
***在控制台首页也可以看到Key***

View File

@ -0,0 +1,6 @@
---
title: Windows
weight: 20
---
[English](/docs/en/self-host/windows)

View File

@ -0,0 +1,6 @@
---
title: Windows
weight: 20
---
[English](/docs/en/self-host/windows)

View File

@ -0,0 +1,6 @@
---
title: Windows
weight: 20
---
[English](/docs/en/self-host/windows)

View File

@ -0,0 +1,6 @@
---
title: Windows
weight: 20
---
[English](/docs/en/self-host/windows)

View File

@ -0,0 +1,41 @@
---
title: Windows
weight: 20
---
### 安裝NodeJs
請點擊[下載](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi)安裝,可能會有點慢,如果卡頓太久,嘗試關掉重新安裝。
NodeJs是pm2的運行時環境所以要先安裝NodeJs。
### 安裝pm2
在cmd.exe中分別輸入下面三行每一行都要按回車鍵一行一行運行。
```
npm install -g pm2
npm install pm2-windows-startup -g
pm2-startup install
```
### 運行hbbr和hbbs
下載Windows版本[服務器程序](https://gitee.com/rustdesk/rustdesk-server/releases)假設你解壓縮到了C盤下。分別運行下面四行命令。
```
cd c:\rustdesk-server-windows-x64
pm2 start hbbr.exe -- -m 註冊郵箱地址
pm2 start hbbs.exe -- -r hbbr運行所在主機的地址 -m 註冊郵箱地址
pm2 save
```
### 查看log
```
pm2 log hbbr
pm2 log hbbs
```
### 更換註冊郵箱
比如新的註冊郵箱是test@test.comhbbr的公網地址是test.hbbr.com
```
pm2 delete hbbr hbbs
cd c:\rustdesk-server-windows-x64
pm2 start hbbr.exe -- -m test@test.com
pm2 start hbbs.exe -- -r test.hbbr.com -m test@test.com
pm2 save
```

View File

@ -1,4 +1,4 @@
<a id="logo" href='{{ (cond (and (ne .Site.Params.landingPageURL nil) (.Site.IsMultiLingual)) .Site.Params.landingPageURL "/") }}'>
<a id="logo" href='/docs{{ (cond (and (ne .Site.Params.landingPageURL nil) (.Site.IsMultiLingual)) .Site.Params.landingPageURL "/") }}'>
<svg width="32" height="32" wversion="1.1" fill="white" viewBox="0 0 263.67 263.26" xmlns="http://www.w3.org/2000/svg">
<path d="m99.158 261.8c-29.063-6.202-53.897-22.439-73.115-47.804-19.507-25.746-27.838-55.355-25.723-91.414 6.655-62.013 47.667-106.75 99.687-120.41 4.509-0.989 8.353-3.462 12.55-1.322 3.22 1.64 6.028 4.467 7.206 7.251 1.25 2.955 1.877 21.54 0.99 29.331-1.076 9.46-3.877 12.418-14.566 15.388-29.723 10.195-48.105 34.07-53.697 61.017-4.8 29.668 2.951 59.729 21.528 78.727 8.966 8.993 17.92 14.24 30.869 18.086 8.646 2.57 13.393 5.758 15.036 10.102 1.085 2.867 1.63 22.984 0.779 28.772-1.33 9.046-1.702 9.796-5.792 11.667-5.029 2.3-7.404 2.392-15.752 0.61zm50.708 0.29c-3.092-1.402-5.673-4.83-6.73-8.94-0.134-9.408-2.366-25.754 1.02-33.373 1.88-4.128 4.65-5.999 12.433-8.396 21.267-6.551 37.593-19.88 46.806-38.213 11.11-22.108 11.877-55.183 1.808-77.975-9.154-20.723-25.7-35.217-48.555-42.534-8.872-2.84-12.004-5.065-12.968-9.21-1.002-4.31-1.435-19.87-0.785-28.218 0.682-8.766 1.249-9.99 6.162-13.318 3.701-2.505 5.482-2.446 17.223 0.575 36.718 10.077 65.97 33.597 83.026 66.68 18.495 37.034 19.191 86.11 1.742 122.65-17.233 36.09-50.591 62.511-88.622 70.194-8.172 1.65-9.07 1.656-12.56 0.073z"/>
</svg>

BIN
static/images/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB