mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-25 16:39:19 +01:00
open source server
This commit is contained in:
parent
2536f39400
commit
db345a5f11
6
content/dev/build/android/_index.de.md
Normal file
6
content/dev/build/android/_index.de.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.en.md
Normal file
6
content/dev/build/android/_index.en.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
**COMMING SOON**
|
6
content/dev/build/android/_index.fr.md
Normal file
6
content/dev/build/android/_index.fr.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.it.md
Normal file
6
content/dev/build/android/_index.it.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.ja.md
Normal file
6
content/dev/build/android/_index.ja.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.pt.md
Normal file
6
content/dev/build/android/_index.pt.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.ru.md
Normal file
6
content/dev/build/android/_index.ru.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.zh-cn.md
Normal file
6
content/dev/build/android/_index.zh-cn.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
6
content/dev/build/android/_index.zh-tw.md
Normal file
6
content/dev/build/android/_index.zh-tw.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Android
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/dev/build/android)
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Web Konsole
|
||||
weight: 30
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/console)
|
@ -1,34 +0,0 @@
|
||||
---
|
||||
title: Web Console
|
||||
weight: 30
|
||||
---
|
||||
|
||||
Features:
|
||||
|
||||
- Add/modify users and user groups
|
||||
- Modify device access permissions
|
||||
- Browse device connection logs
|
||||
|
||||
## Log in
|
||||
As mentioned earlier, the default port of the web console is 21114. Enter `http://<hbbs host>:21114` in the browser to enter the console page, as shown in the following figure (hbbs runs on the ip 192.168.1.143 server):
|
||||
![](/docs/en/self-host/console/images/console-login.png)
|
||||
|
||||
If you need https support, please install a web server such as `Nginx`.
|
||||
|
||||
The default administrator username/password is admin/test1234, please be sure to change the password after logging in, select "Settings" in the account menu in the upper right corner to enter the password modification page, as shown in the following figure:
|
||||
<a name=console-home></a>
|
||||
![](/docs/en/self-host/console/images/console-home.png?v2)
|
||||
|
||||
## Windows EXE
|
||||
For Windows clients, you can leave out the custom server configuration and put the configuration information in the `RustDesk.exe` filename instead. As shown above, please go to the console welcome page and click on `Windows EXE`. **`Client >=1.1.9 Required`**。
|
||||
|
||||
## Device access permissions
|
||||
There are two ways to associate a device with a user:
|
||||
- Via console device page
|
||||
- Log in to the specified user account on the client side
|
||||
|
||||
The following two situations will prevent the device from being accessed:
|
||||
- Make device `disabled` in console devices page
|
||||
- Make user `disable` in console user page
|
||||
|
||||
The associated device can only be accessed by user devices of the same user or user group
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Console Web
|
||||
weight: 30
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/console)
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Console Web
|
||||
weight: 30
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/console)
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Web コンソール
|
||||
weight: 30
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/console)
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Console da Web
|
||||
weight: 30
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/console)
|
@ -1,33 +0,0 @@
|
||||
---
|
||||
title: Веб Консоль
|
||||
weight: 30
|
||||
---
|
||||
Возможности:
|
||||
|
||||
- Добавление/изменение пользвателей и групп
|
||||
- Изменение прав доступа
|
||||
- Просмотр журнала соединений
|
||||
|
||||
## Вход
|
||||
Порт для подключении к консоли по умолчанию: 21114. Перейдите по адресу `http://<адрес сервера hbbs>:21114` в браузере (в примере hbbs запущен на сервере по адресу 192.168.1.143):
|
||||
![](/docs/en/self-host/console/images/console-login.png)
|
||||
|
||||
Если вам необходима поддержка HTTPS, установите web-сервер (например `Nginx`).
|
||||
|
||||
Имя и пароль администратора по умолчанию: admin/test1234. Обязательно смените пароль после первого входа в разделе "Settings" в меню аккаунта в правом верхнем углу страницы.
|
||||
<a name=console-home></a>
|
||||
![](/docs/en/self-host/console/images/console-home.png?v2)
|
||||
|
||||
## Windows EXE
|
||||
Для клиентов на Windows, вы можете создать свою конфигурацию сервера для `RustDesk.exe`. Перейдите на главную страницу консоли и нажмите на `Windows EXE`. **`Необходима версия клиента >=1.1.9`**。
|
||||
|
||||
## Права доступа к устройствам
|
||||
Есть два способа сопоставить устройство с пользователем:
|
||||
- Через страницу устройства в консоли
|
||||
- Войдя под необходимым пользователем на стороне клиента
|
||||
|
||||
Следующие две ситуации предотвратят доступ к устройству:
|
||||
- Установлен признак `disabled` на странице устройства в консоли
|
||||
- Установлен признак `disable` на странице пользователя
|
||||
|
||||
К сопоставленным устройствам можно будет подключится только с устройств соответствующего пользователя или группы пользователей
|
@ -1,35 +0,0 @@
|
||||
---
|
||||
title: 网页控制台
|
||||
weight: 30
|
||||
---
|
||||
|
||||
功能:
|
||||
|
||||
- 添加/修改用户以及用户组
|
||||
- 修改设备访问权限
|
||||
- 浏览设备连接日志
|
||||
|
||||
## 登录
|
||||
如前所述,网页控制台的默认端口是21114,在浏览器中输入`http://<hbbs host>:21114`即可进入控制台页面,如下图(hbbs运行在ip为192.168.1.143的服务器上)所示:
|
||||
![](/docs/en/self-host/console/images/console-login-zh.png)
|
||||
|
||||
如果您需要https支持,请自行安装`Nginx`等网页服务器实现。
|
||||
|
||||
默认管理员用户名/密码是admin/test1234,请务必在登录后修改密码,选择右上角账号菜单里的”设置“进入密码修改页面,如下图所示:
|
||||
<a name=console-home></a>
|
||||
![](/docs/en/self-host/console/images/console-home-zh.png?v2)
|
||||
|
||||
## Windows EXE
|
||||
对于Windows客户端,您可以免填自定义服务器配置,而是将配置信息放在`RustDesk.exe`文件名中。如上图所示,请进入控制台欢迎页面,然后点击`Windows EXE`。 **`客户端需要1.1.9以上版本`**。
|
||||
|
||||
|
||||
## 设备访问权限
|
||||
有两种方式可以将设备关联到用户:
|
||||
- 通过控制台设备页面
|
||||
- 在客户端登录到指定用户账号
|
||||
|
||||
如下两种情况,将会禁止设备被访问:
|
||||
- 在控制台设备页面使设备`禁用`
|
||||
- 在控制台用户页面使用户`禁用`
|
||||
|
||||
被关联的设备只能被同一个用户或者同一用户组的用户设备访问
|
@ -1,34 +0,0 @@
|
||||
---
|
||||
title: 網頁控制台
|
||||
weight: 30
|
||||
---
|
||||
|
||||
功能:
|
||||
|
||||
- 添加/修改用戶以及用戶組
|
||||
- 修改設備訪問權限
|
||||
- 瀏覽設備連接日誌
|
||||
|
||||
## 登錄
|
||||
如前所述,網頁控制台的默認端口是21114,在瀏覽器中輸入`http://<hbbs host>:21114`即可進入控制台頁面,如下圖(hbbs運行在ip為192.168.1.143的服務器上)所示:
|
||||
![](/docs/en/self-host/console/images/console-login.png)
|
||||
|
||||
如果您需要https支持,請自行安裝`Nginx`等網頁服務器實現。
|
||||
|
||||
默認管理員用戶名/密碼是admin/test1234,請務必在登錄後修改密碼,選擇右上角賬號菜單裡的”設置“進入密碼修改頁面,如下圖所示:
|
||||
<a name=console-home></a>
|
||||
![](/docs/en/self-host/console/images/console-home.png?v2)
|
||||
|
||||
## Windows EXE
|
||||
對於Windows客戶端,您可以免填自定義服務器配置,而是將配置信息放在`RustDesk.exe`文件名中。如上圖所示,請進入控制台歡迎頁面,然後點擊`Windows EXE`。
|
||||
|
||||
## 設備訪問權限
|
||||
有兩種方式可以將設備關聯到用戶:
|
||||
- 通過控制台設備頁面
|
||||
- 在客戶端登錄到指定用戶賬號
|
||||
|
||||
如下兩種情況,將會禁止設備被訪問:
|
||||
- 在控制台設備頁面使設備`禁用`
|
||||
- 在控制台用戶頁面使用戶`禁用`
|
||||
|
||||
被關聯的設備只能被同一個用戶或者同一用戶組的用戶設備訪問
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
Binary file not shown.
Before Width: | Height: | Size: 19 KiB |
@ -3,10 +3,6 @@ title: Installation
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% notice note %}}
|
||||
Self-hosted server software is not free, you can use demo license for trial.
|
||||
{{% /notice %}}
|
||||
|
||||
## Set up your own cloud by following simple steps
|
||||
-----------
|
||||
|
||||
@ -14,8 +10,6 @@ Self-hosted server software is not free, you can use demo license for trial.
|
||||
|
||||
[Download](https://github.com/rustdesk/rustdesk-server/) or use docker [rustdesk/rustdesk-server](https://hub.docker.com/r/rustdesk/rustdesk-server/tags).
|
||||
|
||||
<!-- **Note:** You need [buy license](https://rustdesk.com/server/) When using this software -->
|
||||
|
||||
Platform versions provided:
|
||||
- Linux
|
||||
- Windows
|
||||
@ -25,7 +19,6 @@ Below tutorial is based on Linux build.
|
||||
There are two executables and a folder:
|
||||
- hbbs - RustDesk ID/Rendezvous server
|
||||
- hbbr - RustDesk relay server
|
||||
- static - this folder contains all web console files
|
||||
|
||||
They are built on Centos7, tested on Centos7/8, Ubuntu 18/20.
|
||||
|
||||
@ -38,29 +31,28 @@ The hardware requirements are very low, the minimum configuration of the cloud s
|
||||
Run hbbs/hbbr on your server (Centos or Ubuntu). We suggust you use [pm2](https://pm2.keymetrics.io/) managing your service.
|
||||
|
||||
```
|
||||
./hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
./hbbr -m <registered_email>
|
||||
./hbbs -r <relay-server-ip[:port]>
|
||||
./hbbr
|
||||
```
|
||||
|
||||
or run hbbs/hbbr with pm2
|
||||
|
||||
```
|
||||
pm2 start hbbs -- -r <relay-server-ip[:port]> -m <registered_email>
|
||||
pm2 start hbbr -- -m <registered_email>
|
||||
pm2 start hbbs -- -r <relay-server-ip[:port]>
|
||||
pm2 start hbbr
|
||||
```
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
**Please input `demo` for <registered_email> for trial**
|
||||
|
||||
pm2 requires nodejs v16+, if you fail to run pm2 (e.g. you can not see hbbs/hbbr in `pm2 list`), please download and install LTS version nodejs from https://nodejs.org. If you wanna make hbbs/hbbr auto-run after reboot, please check out `pm2 save` and `pm2 startup`. More about [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Another good tool for you log is [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
|
||||
The `-r` parameter of hhbs is not necessary, it is just convenient for you not to specify a relay server on the client side, you do not need to specify port if you are using default 21117 port. The relay server specified by the client has a higher priority than this.
|
||||
{{% /notice %}}
|
||||
|
||||
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.
|
||||
By default, hbbs listens on 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**. 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 client (21118, 21119) support, the corresponding ports can be disabled.
|
||||
|
||||
- TCP(**21114, 21115, 21116, 21117, 21118, 21119**)
|
||||
- TCP(**21115, 21116, 21117, 21118, 21119**)
|
||||
- UDP(**21116**)
|
||||
|
||||
Please run with "-h" option to see help if you wanna choose your own port.
|
||||
@ -70,15 +62,15 @@ Please run with "-h" option to see help if you wanna choose your own port.
|
||||
##### Linux/amd64
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server
|
||||
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 --net=host --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr -m <registered_email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr
|
||||
```
|
||||
|
||||
##### Linux/arm64v8
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server:latest-arm64v8
|
||||
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 --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
@ -93,19 +85,11 @@ If --net=host works fine, -p options are useless.
|
||||
|
||||
### STEP-3 : Set hbbs/hbbr address on client-side
|
||||
|
||||
{{% notice note %}}
|
||||
For Windows clients, you can choose the [Windows EXE](/docs/en/self-host/console/#windows-exe) solution to avoid filling in custom server configuration.
|
||||
{{% /notice %}}
|
||||
|
||||
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)
|
||||
|
||||
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.
|
||||
|
||||
{{% notice note %}}
|
||||
The Key in the picture does not refer to the registered email address, the [next section](#key) will explain in detail.
|
||||
{{% /notice %}}
|
||||
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).
|
||||
|
||||
e.g.
|
||||
|
||||
@ -138,7 +122,3 @@ If you wanna prohibit users without key from establishing non-encrypted connecti
|
||||
````
|
||||
|
||||
If you wanna change key, please remove `id_ed25519` and `id_ed25519.pub` files and restart hbbs/hbbr,hbbs will generate new key pair.
|
||||
|
||||
{{% notice note %}}
|
||||
Key can also be seen on the [console](/docs/en/self-host/console/#console-home) welcome page (Click on Windows EXE).
|
||||
{{% /notice %}}
|
||||
|
@ -3,10 +3,6 @@ title: Установка
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% notice note %}}
|
||||
Сервер для самостоятельного развёртывания не бесплатный. Вы можете использовать демонстрационную лицензию для пробного периода.
|
||||
{{% /notice %}}
|
||||
|
||||
## Настройте свой собственный сервер пр помощи следующих простых шагов
|
||||
-----------
|
||||
|
||||
@ -14,8 +10,6 @@ weight: 10
|
||||
|
||||
[Скачать](https://github.com/rustdesk/rustdesk-server/) или используйте Docker [rustdesk/rustdesk-server](https://hub.docker.com/r/rustdesk/rustdesk-server/tags).
|
||||
|
||||
<!-- **Note:** You need [buy license](https://rustdesk.com/server/) When using this software -->
|
||||
|
||||
Доступны версии для следующих платформ:
|
||||
- Linux
|
||||
- Windows
|
||||
@ -38,29 +32,28 @@ weight: 10
|
||||
Запустите hbbs/hbbr на вашем сервере (Centos или Ubuntu). Мы рекомендуем использовать [pm2](https://pm2.keymetrics.io/) для управления службами.
|
||||
|
||||
```
|
||||
./hbbs -r <IP-адрес ретранслятора[:port]> -m <зарегистрированный email>
|
||||
./hbbr -m <зарегистрированный email>
|
||||
./hbbs -r <IP-адрес ретранслятора[:port]>
|
||||
./hbbr
|
||||
```
|
||||
|
||||
или запустите hbbs/hbbr при помощи pm2
|
||||
|
||||
```
|
||||
pm2 start hbbs -- -r <IP-адрес ретранслятора[:port]> -m <зарегистрированный email>
|
||||
pm2 start hbbr -- -m <зарегистрированный email>
|
||||
pm2 start hbbs -- -r <IP-адрес ретранслятора[:port]>
|
||||
pm2 start hbbr
|
||||
```
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
**Используйте `demo` вместо <зарегистрированный email> для пробного периода**
|
||||
|
||||
pm2 требует для себя nodejs v16+. Если не получится запустить pm2 (например, вы не видите hbbs/hbbr в `pm2 list`), установите последнюю LTS версию nodejs по ссылке https://nodejs.org. Если вы хотите чтобы hbbs/hbbr запускался вмести с системой, посмотрите `pm2 save` и `pm2 startup`. Подробности по ссылке: [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Хороший инстурмет для записи логов: [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
|
||||
Параметр `-r` у hhbs не обязательный. Он необходим для автоподстановки адреса ретранслятора на стороне клиента. Адрес ретранслятора на стороне клиента имеет приоритет над адресом, указанным с ключом `-r`.
|
||||
{{% /notice %}}
|
||||
|
||||
По умолчанию hbbs слушает порты 21114(tcp), 21115(tcp) и 21116(tcp/udp), 21118(tcp), hbbr слушает порты 21117(tcp) и 21119(tcp). Удостоверьтесь, что эти порты открыты на файрволле. **Обратите внимание: Порт 21116 должен быть открыт и как TCP и как UDP**. Порт 21114 используется для Web-консоли и API, 21115 используется для проверки типа NAT, 21116/UDP используется для регистрации и службы heartbeat, 21116/TCP используется для пробивания TCP отверстий и службы соединений, 21117 используется для службы ретранслятора, 21118 и 21119 используется для поддержки Web-клиентов. Если вам не нужны Web-консоль с API (21114) или Web-клиент (21118, 21119) соответствующие порты можно отключить.
|
||||
По умолчанию hbbs слушает порты 21115(tcp) и 21116(tcp/udp), 21118(tcp), hbbr слушает порты 21117(tcp) и 21119(tcp). Удостоверьтесь, что эти порты открыты на файрволле. **Обратите внимание: Порт 21116 должен быть открыт и как TCP и как UDP**. Порт 21115 используется для проверки типа NAT, 21116/UDP используется для регистрации и службы heartbeat, 21116/TCP используется для пробивания TCP отверстий и службы соединений, 21117 используется для службы ретранслятора, 21118 и 21119 используется для поддержки Web-клиентов. Если вам не нужны Web-клиент (21118, 21119) соответствующие порты можно отключить.
|
||||
|
||||
- TCP(**21114, 21115, 21116, 21117, 21118, 21119**)
|
||||
- TCP(**21115, 21116, 21117, 21118, 21119**)
|
||||
- UDP(**21116**)
|
||||
|
||||
Используйте ключ `-h` для получения справки.
|
||||
@ -70,15 +63,15 @@ pm2 требует для себя nodejs v16+. Если не получится
|
||||
##### Linux/amd64
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server
|
||||
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 --net=host --rm rustdesk/rustdesk-server hbbs -r <IP-адрес ретранслятора[:port]> -m <зарегистрированный email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr -m <зарегистрированный email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbs -r <IP-адрес ретранслятора[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr
|
||||
```
|
||||
|
||||
##### Linux/arm64v8
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server:latest-arm64v8
|
||||
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 --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <IP-адрес ретранслятора[:port]> -m <зарегистрированный email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <зарегистрированный email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <IP-адрес ретранслятора[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
@ -93,20 +86,12 @@ sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --n
|
||||
|
||||
### ШАГ-3 : Настроить адрес hbbs/hbbr на стороне клиента
|
||||
|
||||
{{% notice note %}}
|
||||
Для калиентов Windows, вы можете использвать генерацию [Windows EXE](/docs/ru/self-host/console/#windows-exe) для автоматического заполнения настроек.
|
||||
{{% /notice %}}
|
||||
|
||||
Нажмите на кнопку меню справа от ID, как указано ниже, и выберите "ID/Relay Server".
|
||||
|
||||
![](/docs/en/self-host/install/images/server-set-menu.png)
|
||||
|
||||
Введите URL или IP-адрес hbbs в поле "ID server". Поле "Relay server" можно оставить пустыми, RustDesk автоматически определит адрес ретранслятора.
|
||||
|
||||
{{% notice note %}}
|
||||
Поле Key не предназначено для зарегистрированного email. Подробности в [следующей секции](#key).
|
||||
{{% /notice %}}
|
||||
|
||||
Например:
|
||||
|
||||
```
|
||||
@ -137,8 +122,4 @@ cat ./id_ed25519.pub
|
||||
./hbbr -k _
|
||||
````
|
||||
|
||||
Если вы хотите сменить ключ, удалите файлы `id_ed25519` и `id_ed25519.pub` и перезапустите hbbs/hbbr,hbbs автоматически сгенерирует новую пару ключей.
|
||||
|
||||
{{% notice note %}}
|
||||
Так-же, ключ можно увидеть в [консоли](/docs/ru/self-host/console/#console-home) на странице Windows EXE.
|
||||
{{% /notice %}}
|
||||
Если вы хотите сменить ключ, удалите файлы `id_ed25519` и `id_ed25519.pub` и перезапустите hbbs/hbbr,hbbs автоматически сгенерирует новую пару ключей.
|
@ -3,10 +3,6 @@ title: 安装
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% notice note %}}
|
||||
自建服务器软件不是免费的,您可以使用演示许可证进行试用。
|
||||
{{% /notice %}}
|
||||
|
||||
## 如何自建中继
|
||||
-----------
|
||||
|
||||
@ -14,8 +10,6 @@ weight: 10
|
||||
|
||||
[下载](https://gitee.com/rustdesk/rustdesk-server/)或者使用docker [rustdesk/rustdesk-server](https://hub.docker.com/r/rustdesk/rustdesk-server/tags)。
|
||||
|
||||
<!-- **注意**: 你需要[购买许可](https://rustdesk.com/server/)才能正常运行本程序 -->
|
||||
|
||||
提供版本:
|
||||
- Linux
|
||||
- Windows
|
||||
@ -25,7 +19,6 @@ weight: 10
|
||||
有两个可执行文件和一个文件夹:
|
||||
- hbbs - RustDesk ID注册服务器
|
||||
- hbbr - RustDesk 中继服务器
|
||||
- static - 该文件夹中包含网页控制台所有文件
|
||||
|
||||
Linux版本在Centos7构建,在 Centos7/8,Ubuntu 18/20上测试过,Debian系列的发行版本应该都没有问题。如果有其他发行版本需求,请联系我。
|
||||
|
||||
@ -37,29 +30,28 @@ Linux版本在Centos7构建,在 Centos7/8,Ubuntu 18/20上测试过,Debian
|
||||
在服务器上运行 hbbs/hbbr (Centos 或 Ubuntu)。建议使用[pm2](https://pm2.keymetrics.io/) 管理服务。
|
||||
|
||||
```
|
||||
./hbbs -r <hbbr运行所在主机的地址[:port]> -m <registered_email>
|
||||
./hbbr -m <registered_email>
|
||||
./hbbs -r <hbbr运行所在主机的地址[:port]>
|
||||
./hbbr
|
||||
```
|
||||
|
||||
或者使用 pm2 运行 hbbs/hbbr
|
||||
|
||||
```
|
||||
pm2 start hbbs -- -r <relay-server-ip[:port]> -m <registered_email>
|
||||
pm2 start hbbr -- -m <registered_email>
|
||||
pm2 start hbbs -- -r <relay-server-ip[:port]>
|
||||
pm2 start hbbr
|
||||
```
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
**请为 <registered_email> 输入 `demo` 运行试用**
|
||||
|
||||
`pm2` 需要 nodejs v16+,如果你运行 pm2 失败(例如在 `pm2 list` 中看不到 hbbs/hbbr),请从 https://nodejs.org 下载并安装 LTS 版本的 nodejs。 如果你想让 hbbs/hbbr 在重启后自动运行,请查看 `pm2 save` 和 `pm2 startup`。 更多关于 [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/)。另一个不错的日志工具是 [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate)。
|
||||
|
||||
hhbs的`-r`参数不是必须的,他只是方便你不用在客户端指定中继服务器,如果是默认21117端口,可以不填port。客户端指定的中继服务器优先级高于这个。
|
||||
{{% /notice %}}
|
||||
|
||||
默认情况下,hbbs 监听21114(tcp), 21115(tcp), 21116(tcp/udp), 21118(tcp),hbbr 监听21117(tcp), 21119(tcp)。务必在防火墙开启这几个端口, **请注意21116同时要开启TCP和UDP**。其中21114是网页控制台+API,21115是hbbs用作NAT类型测试,21116/UDP是hbbs用作ID注册与心跳服务,21116/TCP是hbbs用作TCP打洞与连接服务,21117是hbbr用作中继服务, 21118和21119是为了支持网页客户端。如果您不需要网页控制台+API(21114)或者网页客户端(21118,21119)支持,对应端口可以不开。
|
||||
默认情况下,hbbs 监听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是为了支持网页客户端。如果您不需要网页客户端(21118,21119)支持,对应端口可以不开。
|
||||
|
||||
- TCP(**21114, 21115, 21116, 21117, 21118, 21119**)
|
||||
- TCP(**21115, 21116, 21117, 21118, 21119**)
|
||||
- UDP(**21116**)
|
||||
|
||||
如果你想选择**自己的端口**,使用 “-h” 选项查看帮助。
|
||||
@ -68,15 +60,15 @@ hhbs的`-r`参数不是必须的,他只是方便你不用在客户端指定中
|
||||
##### Linux/amd64
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server
|
||||
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 --net=host --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr -m <registered_email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr
|
||||
```
|
||||
|
||||
##### Linux/arm64v8
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server:latest-arm64v8
|
||||
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 --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
@ -90,19 +82,11 @@ sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --n
|
||||
|
||||
### 步骤3: 在客户端设置 hbbs/hbbr 地址
|
||||
|
||||
{{% notice note %}}
|
||||
对于Windows客户端,可以选用[Windows Exe](/docs/zh-cn/self-host/console/#windows-exe)方案,免填自定义服务器配置。
|
||||
{{% /notice %}}
|
||||
|
||||
点击 ID 右侧的菜单按钮如下,选择“ ID/中继服务器”。
|
||||
|
||||
![](/docs/en/self-host/install/images/server-set-menu-zh.png)
|
||||
|
||||
在 ID 服务器输入框中(被控端+主控端)输入 hbbs 主机或 ip 地址,另外两个地址可以不填,RustDesk会自动推导(如果没有特别设定),中继服务器指的是hbbr(21116)端口,API服务器指的是上面的网页控制台+API(21114)。
|
||||
|
||||
{{% notice note %}}
|
||||
图中的Key不是指的注册邮箱,[下节](#key)将会具体解释。
|
||||
{{% /notice %}}
|
||||
在 ID 服务器输入框中(被控端+主控端)输入 hbbs 主机或 ip 地址,另外两个地址可以不填,RustDesk会自动推导(如果没有特别设定),中继服务器指的是hbbr(21116)端口。
|
||||
|
||||
例如:
|
||||
|
||||
@ -135,8 +119,4 @@ cat ./id_ed25519.pub
|
||||
|
||||
如果要更改key,请删除 `id_ed25519` 和 `id_ed25519.pub` 文件并重新启动 hbbs/hbbr,hbbs将会产生新的密钥对。
|
||||
|
||||
{{% notice note %}}
|
||||
在[控制台](/docs/zh-cn/self-host/console/#console-home)欢迎页面(点击Windows EXE)也可以看到Key。
|
||||
{{% /notice %}}
|
||||
|
||||
|
||||
|
@ -3,10 +3,6 @@ title: 安裝
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% notice note %}}
|
||||
自託管服務器軟件不是免費的,您可以使用演示許可證進行試用。
|
||||
{{% /notice %}}
|
||||
|
||||
## 如何自建中繼
|
||||
-----------
|
||||
|
||||
@ -14,8 +10,6 @@ weight: 10
|
||||
|
||||
[下載](https://gitee.com/rustdesk/rustdesk-server/)或者使用docker[rustdesk/rustdesk-server](https://hub.docker.com/r/rustdesk/rustdesk-server/tags)。
|
||||
|
||||
<!-- **注意**: 你需要[購買許可](https://rustdesk.com/server/)才能正常運行本程序 -->
|
||||
|
||||
提供版本:
|
||||
- Linux
|
||||
- Windows
|
||||
@ -25,7 +19,6 @@ weight: 10
|
||||
有兩個可執行文件和一個文件夾:
|
||||
- hbbs - RustDesk ID註冊服務器
|
||||
- hbbr - RustDesk 中繼服務器
|
||||
- static - 該文件夾中包含網頁控制台所有文件
|
||||
|
||||
Linux版本在Centos7構建,在 Centos7/8,Ubuntu 18/20上測試過,Debian系列的發行版本應該都沒有問題。如果有其他發行版本需求,請聯繫我。
|
||||
|
||||
@ -37,21 +30,19 @@ Linux版本在Centos7構建,在 Centos7/8,Ubuntu 18/20上測試過,Debian
|
||||
在服務器上運行 hbbs/hbbr (Centos 或 Ubuntu)。建議使用[pm2](https://pm2.keymetrics.io/) 管理服務。
|
||||
|
||||
```
|
||||
./hbbs -r <hbbr運行所在主機的地址[:port]> -m <registered_email>
|
||||
./hbbr -m <registered_email>
|
||||
./hbbs -r <hbbr運行所在主機的地址[:port]>
|
||||
./hbbr
|
||||
```
|
||||
|
||||
或者使用 pm2 運行 hbbs/hbbr
|
||||
|
||||
```
|
||||
pm2 start hbbs -- -r <relay-server-ip[:port]> -m <registered_email>
|
||||
pm2 start hbbr -- -m <registered_email>
|
||||
pm2 start hbbs -- -r <relay-server-ip[:port]>
|
||||
pm2 start hbbr
|
||||
```
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
**請為 <registered_email> 輸入 `demo` 運行試用**
|
||||
|
||||
|
||||
`pm2` 需要 nodejs v16+,如果你運行 pm2 失敗(例如在 `pm2 list` 中看不到 hbbs/hbbr),請從 https://nodejs.org 下載並安裝 LTS 版本的 nodejs。如果你想讓 hbbs/hbbr 在重啟後自動運行,請查看 `pm2 save` 和 `pm2 startup`。更多關於 [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/)。另一個不錯的日誌工具是 [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate)。
|
||||
|
||||
@ -60,9 +51,9 @@ hhbs的`-r`參數不是必須的,他只是方便你不用在客戶端指定中
|
||||
|
||||
{{% /notice %}}
|
||||
|
||||
默認情況下,hbbs 監聽21114(tcp), 21115(tcp), 21116(tcp/udp), 21118(tcp),hbbr 監聽21117(tcp), 21119(tcp)。務必在防火牆開啟這幾個端口, **請注意21116同時要開啟TCP和UDP**。其中21114是網頁控制台+API,21115是hbbs用作NAT類型測試,21116/UDP是hbbs用作ID註冊與心跳服務,21116/TCP是hbbs用作TCP打洞與連接服務,21117是hbbr用作中繼服務, 21118和21119是為了支持網頁客戶端。如果您不需要網頁控制台+API(21114)或者網頁客戶端(21118,21119)支持,對應端口可以不開。
|
||||
默認情況下,hbbs 監聽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是為了支持網頁客戶端。如果您不需要網頁客戶端(21118,21119)支持,對應端口可以不開。
|
||||
|
||||
- TCP(**21114, 21115, 21116, 21117, 21118, 21119**)
|
||||
- TCP(**21115, 21116, 21117, 21118, 21119**)
|
||||
- UDP(**21116**)
|
||||
|
||||
如果你想選擇**自己的端口**,使用 “-h” 選項查看幫助。
|
||||
@ -71,15 +62,15 @@ hhbs的`-r`參數不是必須的,他只是方便你不用在客戶端指定中
|
||||
##### Linux/amd64
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server
|
||||
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 --net=host --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr -m <registered_email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server hbbr
|
||||
```
|
||||
|
||||
##### Linux/arm64v8
|
||||
```
|
||||
sudo docker image pull rustdesk/rustdesk-server:latest-arm64v8
|
||||
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 --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <relay-server-ip[:port]> -m <registered_email>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr -m <registered_email>
|
||||
sudo docker run --name hbbs -p 21115:21115 -p 21116:21116 -p 21116:21116/udp -p 21118:21118 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbs -r <relay-server-ip[:port]>
|
||||
sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --net=host --rm rustdesk/rustdesk-server:latest-arm64v8 hbbr
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
@ -93,19 +84,11 @@ sudo docker run --name hbbr -p 21117:21117 -p 21119:21119 -v `pwd`:/root -it --n
|
||||
|
||||
### 步驟3: 在客戶端設置 hbbs/hbbr 地址
|
||||
|
||||
{{% notice note %}}
|
||||
對於Windows客戶端,可以選用[Windows EXE](/docs/zh-tw/self-host/console/#windows-exe)方案,免填自定義服務器配置。
|
||||
{{% /notice %}}
|
||||
|
||||
點擊 ID 右側的菜單按鈕如下,選擇“ ID/中繼服務器”。
|
||||
|
||||
![](/docs/en/self-host/install/images/server-set-menu.png)
|
||||
|
||||
在 ID 服務器輸入框中(被控端+主控端)輸入 hbbs 主機或 ip 地址,另外兩個地址可以不填,RustDesk會自動推導(如果沒有特別設定),中繼服務器指的是hbbr(21116)端口,API服務器指的是上面的網頁控制台+API(21114)。
|
||||
|
||||
{{% notice note %}}
|
||||
圖中的Key不是指的註冊郵箱,[下節](#key)將會具體解釋。
|
||||
{{% /notice %}}
|
||||
在 ID 服務器輸入框中(被控端+主控端)輸入 hbbs 主機或 ip 地址,另外兩個地址可以不填,RustDesk會自動推導(如果沒有特別設定),中繼服務器指的是hbbr(21116)端口。
|
||||
|
||||
例如:
|
||||
|
||||
@ -136,8 +119,4 @@ cat ./id_ed25519.pub
|
||||
./hbbr -k _
|
||||
```
|
||||
|
||||
如果要更改key,請刪除 `id_ed25519` 和 `id_ed25519.pub` 文件並重新啟動 hbbs/hbbr,hbbs將會產生新的密鑰對。
|
||||
|
||||
{{% notice note %}}
|
||||
在[控制台](/docs/zh-tw/self-host/console/#console-home)歡迎頁面(點擊Windows EXE)也可以看到Key。
|
||||
{{% /notice %}}
|
||||
如果要更改key,請刪除 `id_ed25519` 和 `id_ed25519.pub` 文件並重新啟動 hbbs/hbbr,hbbs將會產生新的密鑰對。
|
@ -45,10 +45,9 @@ Synogy's OS is debain based, so host net (--net=host) works fine, we do not need
|
||||
|
||||
`192.168.16.98` is an intranet ip used here for demonstration only, please set it to a public ip when you deploy.
|
||||
|
||||
`demo` is used here for trial only, please set it to a registered email when you deploy. `demo` can be used until we start to sell license.
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
|
||||
|
||||
- Done
|
||||
|
||||
@ -69,15 +68,3 @@ Please repeat above `hbbs` steps, but change container name to `hbbr` and comman
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/log.png?width=500px) | ![](/docs/en/self-host/synogy/images/network-types.png?width=500px)
|
||||
|
||||
### Test
|
||||
|
||||
You can test if hbbs runs well by going to web console built in `hbbs`. Please change `192.168.16.98` to your Synogy's ip. Default login name/password is `admin`/`test1234`.
|
||||
|
||||
![](/docs/en/self-host/synogy/images/console.png?width=500px)
|
||||
|
||||
Please change the admin password as belows.
|
||||
|
||||
| | |
|
||||
|- | -|
|
||||
![](/docs/en/self-host/synogy/images/go-to-settings.png?width=500px) | ![](/docs/en/self-host/synogy/images/change-password.png?width=500px)
|
||||
|
||||
|
@ -3,40 +3,4 @@ title: Synology
|
||||
weight: 22
|
||||
---
|
||||
|
||||
|
||||
### 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-synogy-startup -g
|
||||
pm2-startup install
|
||||
```
|
||||
|
||||
### Exécutez hbbr et hbbs
|
||||
Téléchargez la version Synology 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-synogy-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-synogy-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/synogy)
|
@ -45,10 +45,9 @@ weight: 22
|
||||
|
||||
Адрес `192.168.16.98` использован для демонстрации. Установите публичный адрес вместо него.
|
||||
|
||||
Параметр `demo` используется для пробного периода. Используйте зарегистрированный email вместо него. `demo` может быть использован до старта продаж дицензий.
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
|
||||
|
||||
- Готово
|
||||
|
||||
@ -68,15 +67,3 @@ weight: 22
|
||||
| Двойной клик на контейнер чтобы перейти в журнал | Проверьте, чтобы hbbs/hbbr использовали сеть хоста |
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/log.png?width=500px) | ![](/docs/en/self-host/synogy/images/network-types.png?width=500px)
|
||||
|
||||
### Тестирование
|
||||
|
||||
Чтобы проверить правильность установки, зайдите на Web-консоль. Измените `192.168.16.98` на фактический адрес хранилища Synology. Имя пользователя и пароль по умолчанию: `admin`/`test1234`.
|
||||
|
||||
![](/docs/en/self-host/synogy/images/console.png?width=500px)
|
||||
|
||||
Обязательно измените пароль администратора после первого входа.
|
||||
|
||||
| | |
|
||||
|- | -|
|
||||
![](/docs/en/self-host/synogy/images/go-to-settings.png?width=500px) | ![](/docs/en/self-host/synogy/images/change-password.png?width=500px)
|
@ -46,10 +46,9 @@ Synogy 的操作系统是基于 debain 的,因此host net (--net=host) 可以
|
||||
|
||||
`192.168.16.98`为内网ip,此处仅作演示,部署时请设置为公网ip。
|
||||
|
||||
`demo`在这里仅供试用,部署时请设置为注册邮箱。 `demo` 可以在许可证开售之前一直使用。
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
|
||||
|
||||
- 搞定
|
||||
|
||||
@ -69,15 +68,3 @@ Synogy 的操作系统是基于 debain 的,因此host net (--net=host) 可以
|
||||
| 双击容器并查看日志 | 确认 hbbs/hbbr 在使用 host net |
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/log.png?width=500px) | ![](/docs/en/self-host/synogy/images/network-types.png?width=500px)
|
||||
|
||||
### 测试
|
||||
|
||||
您可以通过 `hbbs` 内置的 web 控制台测试 hbbs 是否运行良好。 请将 `192.168.16.98` 更改为您的春辉的IP。 默认登录名/密码是 `admin`/`test1234`。
|
||||
|
||||
![](/docs/en/self-host/synogy/images/console.png?width=500px)
|
||||
|
||||
请按以下方式更改管理员密码。
|
||||
|
||||
| | |
|
||||
|- | -|
|
||||
![](/docs/en/self-host/synogy/images/go-to-settings.png?width=500px) | ![](/docs/en/self-host/synogy/images/change-password.png?width=500px)
|
||||
|
@ -46,10 +46,9 @@ Synogy 的操作系統是基於 debain 的,因此host net (--net=host) 可以
|
||||
|
||||
`192.168.16.98`為內網ip,此處僅作演示,部署時請設置為公網ip。
|
||||
|
||||
`demo`在這裡僅供試用,部署時請設置為註冊郵箱。 `demo` 可以在許可證開售之前一直使用。
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?v2)
|
||||
|
||||
- 搞定
|
||||
|
||||
@ -68,16 +67,4 @@ Synogy 的操作系統是基於 debain 的,因此host net (--net=host) 可以
|
||||
|
||||
| 雙擊容器並查看日誌 | 確認 hbbs/hbbr 在使用 host net |
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/log.png?width=500px) | ![](/docs/en/self-host/synogy/images/network-types.png?width=500px)
|
||||
|
||||
### 測試
|
||||
|
||||
您可以通過 `hbbs` 內置的 web 控制台測試 hbbs 是否運行良好。請將 `192.168.16.98` 更改為您的春輝的IP。默認登錄名/密碼是 `admin`/`test1234`。
|
||||
|
||||
![](/docs/en/self-host/synogy/images/console.png?width=500px)
|
||||
|
||||
請按以下方式更改管理員密碼。
|
||||
|
||||
| | |
|
||||
|- | -|
|
||||
![](/docs/en/self-host/synogy/images/go-to-settings.png?width=500px) | ![](/docs/en/self-host/synogy/images/change-password.png?width=500px)
|
||||
![](/docs/en/self-host/synogy/images/log.png?width=500px) | ![](/docs/en/self-host/synogy/images/network-types.png?width=500px)
|
Binary file not shown.
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 49 KiB |
@ -20,8 +20,8 @@ pm2-startup install
|
||||
Download the windows version of [server program](https://github.com/rustdesk/rustdesk-server/releases), assuming you unzip it to the C drive. Run the following four lines of commands respectively.
|
||||
```
|
||||
cd c:\rustdesk-server-windows-x64
|
||||
pm2 start hbbs.exe -- -r <The address of the host where hbbr is running> -m <Registered email address>
|
||||
pm2 start hbbr.exe -- -m <Registered email address>
|
||||
pm2 start hbbs.exe -- -r <The address of the host where hbbr is running>
|
||||
pm2 start hbbr.exe
|
||||
pm2 save
|
||||
```
|
||||
|
||||
@ -29,14 +29,4 @@ pm2 save
|
||||
```
|
||||
pm2 log hbbr
|
||||
pm2 log hbbs
|
||||
```
|
||||
|
||||
### Modify email
|
||||
For example, the new registered email address is test@test.com, and the public address of hbbr is test.hbbr.com
|
||||
```
|
||||
pm2 delete hbbr hbbs
|
||||
cd c:\rustdesk-server-windows-x64
|
||||
pm2 start hbbs.exe -- -r test.hbbr.com -m test@test.com
|
||||
pm2 start hbbr.exe -- -m test@test.com
|
||||
pm2 save
|
||||
```
|
@ -20,8 +20,8 @@ pm2-startup install
|
||||
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 start hbbr.exe
|
||||
pm2 start hbbs.exe -- -r <L'adresse de l'hôte sur lequel hbbr est exécuté>
|
||||
pm2 save
|
||||
```
|
||||
|
||||
@ -29,14 +29,4 @@ pm2 save
|
||||
```
|
||||
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
|
||||
```
|
@ -22,8 +22,8 @@ pm2-startup install
|
||||
В консоли (cmd, PowerShell, и т.п.) используйте команды:
|
||||
```
|
||||
cd <каталог с распакованными файлами сервера>
|
||||
pm2 start hbbs.exe -- -r <адрес ретранслятора> -m <зарегистрированный email>
|
||||
pm2 start hbbr.exe -- -m <зарегистрированный email>
|
||||
pm2 start hbbs.exe -- -r <адрес ретранслятора>
|
||||
pm2 start hbbr.exe
|
||||
pm2 save
|
||||
```
|
||||
|
||||
@ -31,14 +31,4 @@ pm2 save
|
||||
```
|
||||
pm2 log hbbr
|
||||
pm2 log hbbs
|
||||
```
|
||||
|
||||
### Изменение email
|
||||
For example, the new registered email address is test@test.com, and the public address of hbbr is test.hbbr.com
|
||||
```
|
||||
pm2 delete hbbr hbbs
|
||||
cd <каталог с распакованными файлами сервера>
|
||||
pm2 start hbbs.exe -- -r <адрес ретранслятора> -m <зарегистрированный email>
|
||||
pm2 start hbbr.exe -- -m <зарегистрированный email>
|
||||
pm2 save
|
||||
```
|
@ -19,8 +19,8 @@ pm2-startup install
|
||||
下载Windows版本[服务器程序](https://gitee.com/rustdesk/rustdesk-server/releases),假设你解压缩到了C盘下。分别运行下面四行命令。
|
||||
```
|
||||
cd c:\rustdesk-server-windows-x64
|
||||
pm2 start hbbs.exe -- -r hbbr运行所在主机的地址 -m 注册邮箱地址
|
||||
pm2 start hbbr.exe -- -m 注册邮箱地址
|
||||
pm2 start hbbs.exe -- -r hbbr运行所在主机的地址
|
||||
pm2 start hbbr.exe
|
||||
pm2 save
|
||||
```
|
||||
|
||||
@ -28,14 +28,4 @@ pm2 save
|
||||
```
|
||||
pm2 log hbbr
|
||||
pm2 log hbbs
|
||||
```
|
||||
|
||||
### 更换注册邮箱
|
||||
比如新的注册邮箱是test@test.com,hbbr的公网地址是test.hbbr.com
|
||||
```
|
||||
pm2 delete hbbr hbbs
|
||||
cd c:\rustdesk-server-windows-x64
|
||||
pm2 start hbbs.exe -- -r test.hbbr.com -m test@test.com
|
||||
pm2 start hbbr.exe -- -m test@test.com
|
||||
pm2 save
|
||||
```
|
@ -19,8 +19,8 @@ pm2-startup install
|
||||
下載Windows版本[服務器程序](https://gitee.com/rustdesk/rustdesk-server/releases),假設你解壓縮到了C盤下。分別運行下面四行命令。
|
||||
```
|
||||
cd c:\rustdesk-server-windows-x64
|
||||
pm2 start hbbs.exe -- -r hbbr運行所在主機的地址 -m 註冊郵箱地址
|
||||
pm2 start hbbr.exe -- -m 註冊郵箱地址
|
||||
pm2 start hbbs.exe -- -r hbbr運行所在主機的地址
|
||||
pm2 start hbbr.exe
|
||||
pm2 save
|
||||
```
|
||||
|
||||
@ -28,14 +28,4 @@ pm2 save
|
||||
```
|
||||
pm2 log hbbr
|
||||
pm2 log hbbs
|
||||
```
|
||||
|
||||
### 更換註冊郵箱
|
||||
比如新的註冊郵箱是test@test.com,hbbr的公網地址是test.hbbr.com
|
||||
```
|
||||
pm2 delete hbbr hbbs
|
||||
cd c:\rustdesk-server-windows-x64
|
||||
pm2 start hbbs.exe -- -r test.hbbr.com -m test@test.com
|
||||
pm2 start hbbr.exe -- -m test@test.com
|
||||
pm2 save
|
||||
```
|
Loading…
Reference in New Issue
Block a user