mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-02-27 23:51:40 +01:00
84 lines
3.0 KiB
Markdown
84 lines
3.0 KiB
Markdown
---
|
||
title: 群晖
|
||
weight: 22
|
||
---
|
||
|
||
|
||
本手册基于DSM v6。
|
||
|
||
### 安装Docker
|
||
|
||
打开 package manager 并安装 docker
|
||
|
||
| | |
|
||
| --------------- | -------------------------------------------------------- |
|
||
 | 
|
||
|
||
|
||
### 安装 RustDesk Server
|
||
|
||
| 在 Docker's registery 里搜索 rustdesk-server 并双击安装 | 安装 rustdesk-server 镜像后, 双击镜像创建容器 |
|
||
| --------------- | -------------------------------------------------------- |
|
||
 | 
|
||
|
||
|
||
### 创建 hbbs 容器
|
||
|
||
如上所述哦,双击 rustdesk-server 镜像创建新容器,设置名称 `hbbs`。
|
||

|
||
|
||
点击上面的 "Advanced Settings"。
|
||
|
||
- 开启 auto-restart
|
||

|
||
|
||
- 开启 "Use the same network as Docker host", 关于 host net的更多解释,请[查看](/docs/zh-cn/self-host/install/#net-host)
|
||

|
||
|
||
- 将容器里的 home 目录 `/root` 挂在到宿主目录(比如 `Shared/test/`), hbbr将把产生的文件放在该目录。
|
||
| 挂在 | 产生的文件 |
|
||
|-- | -- |
|
||
 | 
|
||
|
||
- 设置命令
|
||
{{% notice note %}}
|
||
Synogy 的操作系统是基于 debain 的,因此host net (--net=host) 可以正常工作,我们不需要使用 `-p` 选项映射端口。
|
||
|
||
`192.168.16.98`为内网ip,此处仅作演示,部署时请设置为公网ip。
|
||
|
||
`demo`在这里仅供试用,部署时请设置为注册邮箱。 `demo` 可以在许可证开售之前一直使用。
|
||
{{% /notice %}}
|
||
|
||

|
||
|
||
- 搞定
|
||
|
||

|
||
|
||
### 创建 hbbr 容器
|
||
|
||
请重复上述 `hbbs` 步骤,请将容器名更改为 `hbbr` 并将命令更改为 `hbbr -m demo`。
|
||
|
||

|
||
|
||
### hbbr/hbbs 容器创建完成
|
||
|
||

|
||
|
||
|
||
| 双击容器并查看日志 | 确认 hbbs/hbbr 在使用 host net |
|
||
|-- | -- |
|
||
 | 
|
||
|
||
### 测试
|
||
|
||
您可以通过 `hbbs` 内置的 web 控制台测试 hbbs 是否运行良好。 请将 `192.168.16.98` 更改为您的春辉的IP。 默认登录名/密码是 `admin`/`test1234`。
|
||
|
||

|
||
|
||
请按以下方式更改管理员密码。
|
||
|
||
| | |
|
||
|- | -|
|
||
 | 
|