open source server

This commit is contained in:
rustdesk
2022-05-12 21:06:38 +08:00
parent 2536f39400
commit db345a5f11
37 changed files with 115 additions and 445 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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