mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-25 16:39:19 +01:00
minors
This commit is contained in:
parent
fbc097d685
commit
a56431b5c6
@ -14,7 +14,7 @@ Download [rustup-init.exe](https://static.rust-lang.org/rustup/dist/x86_64-pc-wi
|
||||
|
||||
### vcpkg
|
||||
|
||||
Use `git-bash` to run the following commands, download `vcpkg`, install `libvpx`, `libyuv`, `opus`.
|
||||
Use [git-bash](https://git-scm.com/download/win) to run the following commands, download `vcpkg`, install `libvpx`, `libyuv`, `opus`.
|
||||
|
||||
```shell
|
||||
git clone https://github.com/microsoft/vcpkg
|
||||
@ -26,7 +26,9 @@ Use `git-bash` to run the following commands, download `vcpkg`, install `libvp
|
||||
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
|
||||
```
|
||||
|
||||
Add environment variable `VCPKG_ROOT`=`vcpkg_dir`.
|
||||
Add environment variable `VCPKG_ROOT`=`<path>\vcpkg`.
|
||||
|
||||
![](/docs/en/dev/build/windows/images/env.png)
|
||||
|
||||
### sciter
|
||||
|
||||
@ -34,7 +36,7 @@ Desktop versions use [sciter](https://sciter.com/) for GUI, please download [sci
|
||||
|
||||
### llvm
|
||||
|
||||
rust-bindgen depends on clang, download [llvm](https://github.com/llvm/llvm-project/releases) and install,add environment variable `LIBCLANG_PATH`=`llvm_install_dir/bin`.
|
||||
rust-bindgen depends on clang, download [llvm](https://github.com/llvm/llvm-project/releases) and install,add environment variable `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ weight: 20
|
||||
|
||||
### vcpkg
|
||||
|
||||
使用`git-bash`运行下列命令, 下载`vcpkg`, 安装`libvpx`, `libyuv`, `opus`
|
||||
使用[git-bash](https://git-scm.com/download/win)运行下列命令, 下载`vcpkg`, 安装`libvpx`, `libyuv`, `opus`
|
||||
|
||||
```shell
|
||||
git clone https://github.com/microsoft/vcpkg
|
||||
@ -26,7 +26,9 @@ weight: 20
|
||||
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
|
||||
```
|
||||
|
||||
添加环境变量`VCPKG_ROOT`=`vcpkg_dir`
|
||||
添加环境变量`VCPKG_ROOT`=`<path>\vcpkg`。
|
||||
|
||||
![](/docs/en/dev/build/windows/images/env.png)
|
||||
|
||||
### sciter
|
||||
|
||||
@ -34,7 +36,7 @@ weight: 20
|
||||
|
||||
### llvm
|
||||
|
||||
rust-bindgen依赖于clang, 下载[llvm](https://github.com/llvm/llvm-project/releases)并安装, 添加环境变量`LIBCLANG_PATH`,值为`llvm_install_dir/bin`
|
||||
rust-bindgen依赖于clang, 下载[llvm](https://github.com/llvm/llvm-project/releases)并安装, 添加环境变量`LIBCLANG_PATH`,值为`<llvm_install_dir>/bin`
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ weight: 20
|
||||
|
||||
### vcpkg
|
||||
|
||||
使用`git-bash`運行下列命令, 下載`vcpkg`, 安裝`libvpx`, `libyuv`, `opus`
|
||||
使用[git-bash](https://git-scm.com/download/win)運行下列命令, 下載`vcpkg`, 安裝`libvpx`, `libyuv`, `opus`
|
||||
|
||||
```shell
|
||||
git clone https://github.com/microsoft/vcpkg
|
||||
@ -26,7 +26,9 @@ weight: 20
|
||||
vcpkg/vcpkg install libvpx:x64-windows-static libyuv:x64-windows-static opus:x64-windows-static
|
||||
```
|
||||
|
||||
添加環境變量`VCPKG_ROOT`=`vcpkg_dir`
|
||||
添加環境變量`VCPKG_ROOT`=`<path>\vcpkg`。
|
||||
|
||||
![](/docs/en/dev/build/windows/images/env.png)
|
||||
|
||||
### sciter
|
||||
|
||||
@ -34,7 +36,7 @@ weight: 20
|
||||
|
||||
### llvm
|
||||
|
||||
rust-bindgen依赖于clang, 下載[llvm](https://github.com/llvm/llvm-project/releases)並安裝, 添加環境變量`LIBCLANG_PATH`, 值為`llvm_install_dir/bin`
|
||||
rust-bindgen依赖于clang, 下載[llvm](https://github.com/llvm/llvm-project/releases)並安裝, 添加環境變量`LIBCLANG_PATH`, 值為`<llvm_install_dir>/bin`
|
||||
|
||||
|
||||
|
||||
|
BIN
content/dev/build/windows/images/env.png
Normal file
BIN
content/dev/build/windows/images/env.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 63 KiB |
@ -24,15 +24,15 @@ Open package manager and install docker
|
||||
### 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)
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png)
|
||||
|
||||
Click on above "Advanced Settings".
|
||||
|
||||
- Enable auto-restart
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png)
|
||||
|
||||
- Enable "Use the same network as Docker host", 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)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png)
|
||||
|
||||
- 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 |
|
||||
@ -48,17 +48,17 @@ Synogy's OS is debain based, so host net (--net=host) works fine, we do not need
|
||||
`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)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
|
||||
- Done
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png)
|
||||
|
||||
### 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)
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png)
|
||||
|
||||
### hbbr/hbbs containers
|
||||
|
||||
|
@ -24,15 +24,15 @@ weight: 22
|
||||
### Создание контейнера hbbs
|
||||
|
||||
Дважды нажмите на образ rustdesk-server чтобы создать контейнер, установите контейнеру имя `hbbs`.
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png)
|
||||
|
||||
Нажмите "Advanced Settings".
|
||||
|
||||
- Включите автоперезапуск
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png)
|
||||
|
||||
- Включите опцию "Use the same network as Docker host", [подробности](/docs/en/self-host/install/#net-host)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png)
|
||||
|
||||
- Смонтируйте папку хоста (например `Shared/test/`) в `/root`, hbbs создаст файлы в папке
|
||||
| Монтирование | Созданные файлы |
|
||||
@ -48,17 +48,17 @@ weight: 22
|
||||
Параметр `demo` используется для пробного периода. Используйте зарегистрированный email вместо него. `demo` может быть использован до старта продаж дицензий.
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
|
||||
- Готово
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png)
|
||||
|
||||
### Создание контейнера hbbr
|
||||
|
||||
Произведите те-же действия, что и в случае hbbs, но измените имя контейнера на `hbbr` и запускаемую команду на `hbbr -m demo`.
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png)
|
||||
|
||||
### Контейнеры hbbr/hbbs
|
||||
|
||||
|
@ -25,15 +25,15 @@ weight: 22
|
||||
### 创建 hbbs 容器
|
||||
|
||||
如上所述哦,双击 rustdesk-server 镜像创建新容器,设置名称 `hbbs`。
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png)
|
||||
|
||||
点击上面的 "Advanced Settings"。
|
||||
|
||||
- 开启 auto-restart
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png)
|
||||
|
||||
- 开启 "Use the same network as Docker host", 关于 host net的更多解释,请[查看](/docs/zh-cn/self-host/install/#net-host)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png)
|
||||
|
||||
- 将容器里的 home 目录 `/root` 挂在到宿主目录(比如 `Shared/test/`), hbbr将把产生的文件放在该目录。
|
||||
| 挂在 | 产生的文件 |
|
||||
@ -49,17 +49,17 @@ Synogy 的操作系统是基于 debain 的,因此host net (--net=host) 可以
|
||||
`demo`在这里仅供试用,部署时请设置为注册邮箱。 `demo` 可以在许可证开售之前一直使用。
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
|
||||
- 搞定
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png)
|
||||
|
||||
### 创建 hbbr 容器
|
||||
|
||||
请重复上述 `hbbs` 步骤,请将容器名更改为 `hbbr` 并将命令更改为 `hbbr -m demo`。
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png)
|
||||
|
||||
### hbbr/hbbs 容器创建完成
|
||||
|
||||
|
@ -25,15 +25,15 @@ weight: 22
|
||||
### 創建 hbbs 容器
|
||||
|
||||
如上所述哦,雙擊 rustdesk-server 鏡像創建新容器,設置名稱 `hbbs`。
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs.png)
|
||||
|
||||
點擊上面的 "Advanced Settings"。
|
||||
|
||||
- 開啟 auto-restart
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/auto-restart.png)
|
||||
|
||||
- 開啟 "Use the same network as Docker host", 關於 host net的更多解釋,請[查看](/docs/zh-tw/self-host/install/#net-host)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/host-net.png)
|
||||
|
||||
- 將容器裡的 home 目錄 `/root` 掛在到宿主目錄(比如 `Shared/test/`), hbbr將把產生的文件放在該目錄。
|
||||
| 掛在 | 產生的文件 |
|
||||
@ -49,17 +49,17 @@ Synogy 的操作系統是基於 debain 的,因此host net (--net=host) 可以
|
||||
`demo`在這裡僅供試用,部署時請設置為註冊郵箱。 `demo` 可以在許可證開售之前一直使用。
|
||||
{{% /notice %}}
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-cmd.png)
|
||||
|
||||
- 搞定
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbs-config.png)
|
||||
|
||||
### 創建 hbbr 容器
|
||||
|
||||
請重複上述 `hbbs` 步驟,請將容器名更改為 `hbbr` 並將命令更改為 `hbbr -m demo`。
|
||||
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png?height=500px)
|
||||
![](/docs/en/self-host/synogy/images/hbbr-config.png)
|
||||
|
||||
### hbbr/hbbs 容器創建完成
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user