diff --git a/content/self-host/install/_index.en.md b/content/self-host/install/_index.en.md index 4b9a85f..bdbde98 100644 --- a/content/self-host/install/_index.en.md +++ b/content/self-host/install/_index.en.md @@ -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 ``` + + {{% 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 %}} diff --git a/content/self-host/install/_index.zh-cn.md b/content/self-host/install/_index.zh-cn.md index 542beed..0c37f05 100644 --- a/content/self-host/install/_index.zh-cn.md +++ b/content/self-host/install/_index.zh-cn.md @@ -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 ``` + + {{% 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 %}} diff --git a/content/self-host/install/_index.zh-tw.md b/content/self-host/install/_index.zh-tw.md index b3d5037..dfb38f9 100644 --- a/content/self-host/install/_index.zh-tw.md +++ b/content/self-host/install/_index.zh-tw.md @@ -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 ``` + + {{% 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 %}} diff --git a/content/self-host/synogy/_index.de.md b/content/self-host/synogy/_index.de.md new file mode 100644 index 0000000..0b9dba3 --- /dev/null +++ b/content/self-host/synogy/_index.de.md @@ -0,0 +1,6 @@ +--- +title: Synogy +weight: 22 +--- + +[English](/docs/en/self-host/synogy) \ No newline at end of file diff --git a/content/self-host/synogy/_index.en.md b/content/self-host/synogy/_index.en.md new file mode 100644 index 0000000..6ad9840 --- /dev/null +++ b/content/self-host/synogy/_index.en.md @@ -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) + diff --git a/content/self-host/synogy/_index.fr.md b/content/self-host/synogy/_index.fr.md new file mode 100644 index 0000000..da1a90f --- /dev/null +++ b/content/self-host/synogy/_index.fr.md @@ -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 +pm2 start hbbs.exe -- -r -m +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 +``` \ No newline at end of file diff --git a/content/self-host/synogy/_index.it.md b/content/self-host/synogy/_index.it.md new file mode 100644 index 0000000..0b9dba3 --- /dev/null +++ b/content/self-host/synogy/_index.it.md @@ -0,0 +1,6 @@ +--- +title: Synogy +weight: 22 +--- + +[English](/docs/en/self-host/synogy) \ No newline at end of file diff --git a/content/self-host/synogy/_index.ja.md b/content/self-host/synogy/_index.ja.md new file mode 100644 index 0000000..0b9dba3 --- /dev/null +++ b/content/self-host/synogy/_index.ja.md @@ -0,0 +1,6 @@ +--- +title: Synogy +weight: 22 +--- + +[English](/docs/en/self-host/synogy) \ No newline at end of file diff --git a/content/self-host/synogy/_index.pt.md b/content/self-host/synogy/_index.pt.md new file mode 100644 index 0000000..0b9dba3 --- /dev/null +++ b/content/self-host/synogy/_index.pt.md @@ -0,0 +1,6 @@ +--- +title: Synogy +weight: 22 +--- + +[English](/docs/en/self-host/synogy) \ No newline at end of file diff --git a/content/self-host/synogy/_index.ru.md b/content/self-host/synogy/_index.ru.md new file mode 100644 index 0000000..0b9dba3 --- /dev/null +++ b/content/self-host/synogy/_index.ru.md @@ -0,0 +1,6 @@ +--- +title: Synogy +weight: 22 +--- + +[English](/docs/en/self-host/synogy) \ No newline at end of file diff --git a/content/self-host/synogy/_index.zh-cn.md b/content/self-host/synogy/_index.zh-cn.md new file mode 100644 index 0000000..bfdaf7b --- /dev/null +++ b/content/self-host/synogy/_index.zh-cn.md @@ -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) diff --git a/content/self-host/synogy/_index.zh-tw.md b/content/self-host/synogy/_index.zh-tw.md new file mode 100644 index 0000000..58b34e1 --- /dev/null +++ b/content/self-host/synogy/_index.zh-tw.md @@ -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) \ No newline at end of file diff --git a/content/self-host/synogy/images/auto-restart.png b/content/self-host/synogy/images/auto-restart.png new file mode 100644 index 0000000..7568038 Binary files /dev/null and b/content/self-host/synogy/images/auto-restart.png differ diff --git a/content/self-host/synogy/images/change-password.png b/content/self-host/synogy/images/change-password.png new file mode 100644 index 0000000..0ef3bdc Binary files /dev/null and b/content/self-host/synogy/images/change-password.png differ diff --git a/content/self-host/synogy/images/console.png b/content/self-host/synogy/images/console.png new file mode 100644 index 0000000..857c118 Binary files /dev/null and b/content/self-host/synogy/images/console.png differ diff --git a/content/self-host/synogy/images/containers.png b/content/self-host/synogy/images/containers.png new file mode 100644 index 0000000..8a113c7 Binary files /dev/null and b/content/self-host/synogy/images/containers.png differ diff --git a/content/self-host/synogy/images/docker.png b/content/self-host/synogy/images/docker.png new file mode 100644 index 0000000..e3f82d2 Binary files /dev/null and b/content/self-host/synogy/images/docker.png differ diff --git a/content/self-host/synogy/images/go-to-settings.png b/content/self-host/synogy/images/go-to-settings.png new file mode 100644 index 0000000..1c9d37e Binary files /dev/null and b/content/self-host/synogy/images/go-to-settings.png differ diff --git a/content/self-host/synogy/images/hbbr-config.png b/content/self-host/synogy/images/hbbr-config.png new file mode 100644 index 0000000..264ba2f Binary files /dev/null and b/content/self-host/synogy/images/hbbr-config.png differ diff --git a/content/self-host/synogy/images/hbbs-cmd.png b/content/self-host/synogy/images/hbbs-cmd.png new file mode 100644 index 0000000..250569f Binary files /dev/null and b/content/self-host/synogy/images/hbbs-cmd.png differ diff --git a/content/self-host/synogy/images/hbbs-config.png b/content/self-host/synogy/images/hbbs-config.png new file mode 100644 index 0000000..46a2b0a Binary files /dev/null and b/content/self-host/synogy/images/hbbs-config.png differ diff --git a/content/self-host/synogy/images/hbbs.png b/content/self-host/synogy/images/hbbs.png new file mode 100644 index 0000000..844ecfc Binary files /dev/null and b/content/self-host/synogy/images/hbbs.png differ diff --git a/content/self-host/synogy/images/host-net.png b/content/self-host/synogy/images/host-net.png new file mode 100644 index 0000000..896be28 Binary files /dev/null and b/content/self-host/synogy/images/host-net.png differ diff --git a/content/self-host/synogy/images/log.png b/content/self-host/synogy/images/log.png new file mode 100644 index 0000000..efeab58 Binary files /dev/null and b/content/self-host/synogy/images/log.png differ diff --git a/content/self-host/synogy/images/mount.png b/content/self-host/synogy/images/mount.png new file mode 100644 index 0000000..e7900ed Binary files /dev/null and b/content/self-host/synogy/images/mount.png differ diff --git a/content/self-host/synogy/images/mounted-dir.png b/content/self-host/synogy/images/mounted-dir.png new file mode 100644 index 0000000..be6e548 Binary files /dev/null and b/content/self-host/synogy/images/mounted-dir.png differ diff --git a/content/self-host/synogy/images/network-types.png b/content/self-host/synogy/images/network-types.png new file mode 100644 index 0000000..6f368a6 Binary files /dev/null and b/content/self-host/synogy/images/network-types.png differ diff --git a/content/self-host/synogy/images/package-manager.png b/content/self-host/synogy/images/package-manager.png new file mode 100644 index 0000000..e6d9674 Binary files /dev/null and b/content/self-host/synogy/images/package-manager.png differ diff --git a/content/self-host/synogy/images/pull-rustdesk-server.png b/content/self-host/synogy/images/pull-rustdesk-server.png new file mode 100644 index 0000000..15594b4 Binary files /dev/null and b/content/self-host/synogy/images/pull-rustdesk-server.png differ diff --git a/content/self-host/synogy/images/rustdesk-server-installed.png b/content/self-host/synogy/images/rustdesk-server-installed.png new file mode 100644 index 0000000..ae7e732 Binary files /dev/null and b/content/self-host/synogy/images/rustdesk-server-installed.png differ