synogy
@ -69,8 +69,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
|
||||
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>
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
|
||||
{{% notice note %}}
|
||||
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than contain ip (172.17.0.1)
|
||||
--net=host only works on Linux so far as I know, which make hbbs/hbbr can see the real incomming ip rather than container ip (172.17.0.1).
|
||||
If --net=host works fine, -p options are useless.
|
||||
|
||||
**Please remove --net=host if see connection problem no your platform**
|
||||
{{% /notice %}}
|
||||
|
@ -67,8 +67,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
|
||||
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>
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
|
||||
{{% notice note %}}
|
||||
据我所知,--net=host 仅适用于 Linux,它让 hbbs/hbbr 可以看到对方真实的ip, 而不是固定的容器ip (172.17.0.1)
|
||||
据我所知,--net=host 仅适用于 Linux,它让 hbbs/hbbr 可以看到对方真实的ip, 而不是固定的容器ip (172.17.0.1)。
|
||||
如果--net=host运行正常,-p选项就不起作用了, 可以去掉。
|
||||
|
||||
**请去掉 --net=host,如果您在非Linux系统上遇到无法连接的问题**
|
||||
{{% /notice %}}
|
||||
|
@ -67,8 +67,11 @@ sudo docker run --name hbbs -p 21114:21114 -p 21115:21115 -p 21116:21116 -p 2111
|
||||
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>
|
||||
```
|
||||
|
||||
<a name="net-host"></a>
|
||||
|
||||
{{% notice note %}}
|
||||
據我所知,--net=host 僅適用於 Linux,它讓 hbbs/hbbr 可以看到對方真實的ip, 而不是固定的容器ip (172.17.0.1)
|
||||
據我所知,--net=host 僅適用於 Linux,它讓 hbbs/hbbr 可以看到對方真實的ip, 而不是固定的容器ip (172.17.0.1)。
|
||||
如果--net=host運行正常,-p選項就不起作用了, 可以去掉。
|
||||
|
||||
****請去掉 --net=host,如果您在非Linux系統上遇到無法連接的問題**
|
||||
{{% /notice %}}
|
||||
|
6
content/self-host/synogy/_index.de.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Synogy
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/synogy)
|
83
content/self-host/synogy/_index.en.md
Normal file
@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Synogy
|
||||
weight: 22
|
||||
---
|
||||
|
||||
This tutorial is based on latest DSM v6.
|
||||
|
||||
### Install Docker
|
||||
|
||||
Open package manager and install docker
|
||||
|
||||
| | |
|
||||
| --------------- | -------------------------------------------------------- |
|
||||
![](/docs/en/self-host/synogy/images/package-manager.png) | ![](/docs/en/self-host/synogy/images/docker.png)
|
||||
|
||||
|
||||
### Install RustDesk Server
|
||||
|
||||
| Search rustdesk-server in Docker's registery and install by double click | Installed rustdesk-server image, double click to create rustdesk-server container |
|
||||
| --------------- | -------------------------------------------------------- |
|
||||
![](/docs/en/self-host/synogy/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/synogy/images/rustdesk-server-installed.png)
|
||||
|
||||
|
||||
### Create hbbs container
|
||||
|
||||
As mentioned above, double click on rustdesk-server image to create new container, set it name to `hbbs`.
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png?height=500px)
|
||||
|
||||
Click on above "Advanced Settings".
|
||||
|
||||
- Enable auto-restart
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
|
||||
- Choose host net, for more about host net, please [check](/docs/en/self-host/install/#net-host)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png?height=500px)
|
||||
|
||||
- Mount a host directory (e.g. `Shared/test/`) to `/root`, hbbs's will generate some files in this directory
|
||||
| Mount | Files generated in the host directory |
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/mount.png?width=500px) | ![](/docs/en/self-host/synogy/images/mounted-dir.png?width=300px)
|
||||
|
||||
- Set command
|
||||
{{% notice note %}}
|
||||
Synogy's OS is debain based, so host net (--net=host) works fine, we do not need to map ports with `-p` option.
|
||||
|
||||
`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?height=500px)
|
||||
|
||||
- Done
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
|
||||
### Create hbbr container
|
||||
|
||||
Please repeat above `hbbs` steps, but change container name to `hbbr` and command to `hbbr -m demo`.
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png?height=500px)
|
||||
|
||||
### hbbr/hbbs containers
|
||||
|
||||
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
|
||||
|
||||
|
||||
| Double click on container and check log | Double confirm hbbs/hbbr using host network |
|
||||
|-- | -- |
|
||||
![](/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)
|
||||
|
42
content/self-host/synogy/_index.fr.md
Normal file
@ -0,0 +1,42 @@
|
||||
---
|
||||
title: Synogy
|
||||
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 Synogy 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
|
||||
```
|
6
content/self-host/synogy/_index.it.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Synogy
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/synogy)
|
6
content/self-host/synogy/_index.ja.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Synogy
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/synogy)
|
6
content/self-host/synogy/_index.pt.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Synogy
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/synogy)
|
6
content/self-host/synogy/_index.ru.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
title: Synogy
|
||||
weight: 22
|
||||
---
|
||||
|
||||
[English](/docs/en/self-host/synogy)
|
83
content/self-host/synogy/_index.zh-cn.md
Normal file
@ -0,0 +1,83 @@
|
||||
---
|
||||
title: 群晖
|
||||
weight: 22
|
||||
---
|
||||
|
||||
|
||||
本手册基于DSM v6。
|
||||
|
||||
### 安装Docker
|
||||
|
||||
打开 package manager 并安装 docker
|
||||
|
||||
| | |
|
||||
| --------------- | -------------------------------------------------------- |
|
||||
![](/docs/en/self-host/synogy/images/package-manager.png) | ![](/docs/en/self-host/synogy/images/docker.png)
|
||||
|
||||
|
||||
### 安装 RustDesk Server
|
||||
|
||||
| 在 Docker's registery 里搜索 rustdesk-server 并双击安装 | 安装 rustdesk-server 镜像后, 双击镜像创建容器 |
|
||||
| --------------- | -------------------------------------------------------- |
|
||||
![](/docs/en/self-host/synogy/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/synogy/images/rustdesk-server-installed.png)
|
||||
|
||||
|
||||
### 创建 hbbs 容器
|
||||
|
||||
如上所述哦,双击 rustdesk-server 镜像创建新容器,设置名称 `hbbs`。
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png?height=500px)
|
||||
|
||||
点击上面的 "Advanced Settings"。
|
||||
|
||||
- 开启 auto-restart
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
|
||||
- 选择 host net, 关于 host net的更多解释,请[查看](/docs/zh-cn/self-host/install/#net-host)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png?height=500px)
|
||||
|
||||
- 将容器里的 home 目录 `/root` 挂在到宿主目录(比如 `Shared/test/`), hbbr将把产生的文件放在该目录。
|
||||
| 挂在 | 产生的文件 |
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/mount.png?width=500px) | ![](/docs/en/self-host/synogy/images/mounted-dir.png?width=300px)
|
||||
|
||||
- 设置命令
|
||||
{{% notice note %}}
|
||||
Synogy 的操作系统是基于 debain 的,因此host net (--net=host) 可以正常工作,我们不需要使用 `-p` 选项映射端口。
|
||||
|
||||
`192.168.16.98`为内网ip,此处仅作演示,部署时请设置为公网ip。
|
||||
|
||||
`demo`在这里仅供试用,部署时请设置为注册邮箱。 `demo` 可以在许可证开售之前一直使用。
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?height=500px)
|
||||
|
||||
- 搞定
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
|
||||
### 创建 hbbr 容器
|
||||
|
||||
请重复上述 `hbbs` 步骤,请将容器名更改为 `hbbr` 并将命令更改为 `hbbr -m demo`。
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png?height=500px)
|
||||
|
||||
### hbbr/hbbs 容器创建完成
|
||||
|
||||
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
|
||||
|
||||
|
||||
| 双击容器并查看日志 | 确认 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)
|
83
content/self-host/synogy/_index.zh-tw.md
Normal file
@ -0,0 +1,83 @@
|
||||
---
|
||||
title: 群暉
|
||||
weight: 22
|
||||
---
|
||||
|
||||
|
||||
本手冊基於DSM v6。
|
||||
|
||||
### 安裝Docker
|
||||
|
||||
打開 package manager 並安裝 docker
|
||||
|
||||
| | |
|
||||
| --------------- | -------------------------------------------------------- |
|
||||
![](/docs/en/self-host/synogy/images/package-manager.png) | ![](/docs/en/self-host/synogy/images/docker.png)
|
||||
|
||||
|
||||
### 安裝 RustDesk Server
|
||||
|
||||
| 在 Docker's registery 裡搜索 rustdesk-server 並雙擊安裝 | 安裝 rustdesk-server 鏡像後, 雙擊鏡像創建容器 |
|
||||
| --------------- | -------------------------------------------------------- |
|
||||
![](/docs/en/self-host/synogy/images/pull-rustdesk-server.png) | ![](/docs/en/self-host/synogy/images/rustdesk-server-installed.png)
|
||||
|
||||
|
||||
### 創建 hbbs 容器
|
||||
|
||||
如上所述哦,雙擊 rustdesk-server 鏡像創建新容器,設置名稱 `hbbs`。
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png?height=500px)
|
||||
|
||||
點擊上面的 "Advanced Settings"。
|
||||
|
||||
- 開啟 auto-restart
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
|
||||
- 選擇 host net, 關於 host net的更多解釋,請[查看](/docs/zh-tw/self-host/install/#net-host)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png?height=500px)
|
||||
|
||||
- 將容器裡的 home 目錄 `/root` 掛在到宿主目錄(比如 `Shared/test/`), hbbr將把產生的文件放在該目錄。
|
||||
| 掛在 | 產生的文件 |
|
||||
|-- | -- |
|
||||
![](/docs/en/self-host/synogy/images/mount.png?width=500px) | ![](/docs/en/self-host/synogy/images/mounted-dir.png?width=300px)
|
||||
|
||||
- 設置命令
|
||||
{{% notice note %}}
|
||||
Synogy 的操作系統是基於 debain 的,因此host net (--net=host) 可以正常工作,我們不需要使用 `-p` 選項映射端口。
|
||||
|
||||
`192.168.16.98`為內網ip,此處僅作演示,部署時請設置為公網ip。
|
||||
|
||||
`demo`在這裡僅供試用,部署時請設置為註冊郵箱。 `demo` 可以在許可證開售之前一直使用。
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?height=500px)
|
||||
|
||||
- 搞定
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
|
||||
### 創建 hbbr 容器
|
||||
|
||||
請重複上述 `hbbs` 步驟,請將容器名更改為 `hbbr` 並將命令更改為 `hbbr -m demo`。
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png?height=500px)
|
||||
|
||||
### hbbr/hbbs 容器創建完成
|
||||
|
||||
![](/docs/en/self-host/synogy/images/containers.png?width=500px)
|
||||
|
||||
|
||||
| 雙擊容器並查看日誌 | 確認 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)
|
BIN
content/self-host/synogy/images/auto-restart.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
content/self-host/synogy/images/change-password.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
content/self-host/synogy/images/console.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
content/self-host/synogy/images/containers.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
content/self-host/synogy/images/docker.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
content/self-host/synogy/images/go-to-settings.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
content/self-host/synogy/images/hbbr-config.png
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
content/self-host/synogy/images/hbbs-cmd.png
Normal file
After Width: | Height: | Size: 42 KiB |
BIN
content/self-host/synogy/images/hbbs-config.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
content/self-host/synogy/images/hbbs.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
content/self-host/synogy/images/host-net.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
content/self-host/synogy/images/log.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
content/self-host/synogy/images/mount.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
content/self-host/synogy/images/mounted-dir.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
content/self-host/synogy/images/network-types.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
content/self-host/synogy/images/package-manager.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
content/self-host/synogy/images/pull-rustdesk-server.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
content/self-host/synogy/images/rustdesk-server-installed.png
Normal file
After Width: | Height: | Size: 27 KiB |