mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-26 17:09:14 +01:00
commit
33f39f4352
@ -4,7 +4,7 @@ weight: 35
|
||||
---
|
||||
|
||||
{{% notice note %}}
|
||||
This build uses github actions, you will need a github account, also building can be slow, however this requires no development environment.
|
||||
This build uses GitHub Actions, you will need a GitHub account, also building can be slow, however this requires no development environment.
|
||||
{{% /notice %}}
|
||||
|
||||
## Make a fork
|
||||
|
@ -16,7 +16,7 @@ It is possible to build RustDesk Android on **Windows** and **macOS** but this i
|
||||
|
||||
Here you will learn how to prepare your environment to such an extent that you will be able to successfully build the application and enable yourself to work on the code through, for example, Android Studio.
|
||||
|
||||
This tutorial is based on latest working workflow file, to ensuree that everything will just works. If you encounter any problems feel free to contact us on our [Discord](https://discord.com/invite/nDceKgxnkV) or by other communication channel.
|
||||
This tutorial is based on latest working workflow file, to ensure that everything will just works. If you encounter any problems feel free to contact us on our [Discord](https://discord.com/invite/nDceKgxnkV) or by other communication channel.
|
||||
|
||||
It is possible to build, run end edit Android version on Windows, but it requires patched `flutter` directory.
|
||||
|
||||
|
@ -42,7 +42,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 System 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 System environment variable `LIBCLANG_PATH`=`<llvm_install_dir>/bin`.
|
||||
|
||||
You can download 15.02 of the LLVM binaries here: [64-bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win64.exe) / [32-bit](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.2/LLVM-15.0.2-win32.exe)
|
||||
|
||||
|
@ -33,7 +33,7 @@ It seems no quick fix, we need to fix together with our Flutter version.
|
||||
|
||||
To capture screen, you need to grant `RustDesk` **accessibility** permission and **screen recording** permission. RustDesk will guide you to the settings window.
|
||||
|
||||
| RustDesk Windows | Settings Window |
|
||||
| RustDesk window | Settings Window |
|
||||
| ---- | ---- |
|
||||
|![](/docs/en/manual/mac/images/acc.png)|![](/docs/en/manual/mac/images/acc3.png?v2)|
|
||||
|
||||
|
@ -11,7 +11,7 @@ To hardcode custom server settings into your executables you must [build](/docs/
|
||||
**If you set either of these values without setting the other, your executable will not work!**
|
||||
{{% /notice %}}
|
||||
|
||||
You can set the following environment variables on your OS and rustdesk will use those variables when compiling your client rather than the default rustdesk.com servers.
|
||||
You can set the following environment variables on your OS and RustDesk will use those variables when compiling your client rather than the default rustdesk.com servers.
|
||||
|
||||
If you do not know how to set an environment variable on your system you should be able to find documentation for your OS online that will explain this.
|
||||
|
||||
|
@ -147,7 +147,7 @@ pm2 start hbbr
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
pm2 requires NodeJS v16+, if you fail to run pm2 (e.g. you can not see `hbbs`/`hbbr` in `pm2 list`), please download and install the NodeJS LTS version from https://nodejs.org. If you want to make `hbbs`/`hbbr` auto-run after reboot, please check out `pm2 save` and `pm2 startup`. More about [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Another good tool for your logs is [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
pm2 requires Node.js v16+, if you fail to run pm2 (e.g. you can not see `hbbs`/`hbbr` in `pm2 list`), please download and install the Node.js LTS version from https://nodejs.org. If you want to make `hbbs`/`hbbr` auto-run after reboot, please check out `pm2 save` and `pm2 startup`. More about [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Another good tool for your logs is [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
|
||||
The `-r` parameter of `hbbs` is not mandatory, it is just convenient for you not to specify a relay server on the controlled client side. You do not need to specify port if you are using default 21117 port. The relay server specified by the client has a higher priority than this.
|
||||
{{% /notice %}}
|
||||
@ -208,7 +208,7 @@ If you did not fill in the `Key:` (the content in the public key file `id_ed2551
|
||||
|
||||
```bash
|
||||
cat ./id_ed25519.pub
|
||||
````
|
||||
```
|
||||
|
||||
If you want to prohibit users without the key from establishing non-encrypted connections, please add the `-k _` parameter when running `hbbs` and `hbbr`, for example:
|
||||
|
||||
|
@ -144,7 +144,7 @@ pm2 start hbbr
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
pm2 nécessite NodeJS v16+, si vous ne parvenez pas à exécuter pm2 (par exemple, vous ne pouvez pas voir `hbbs`/`hbbr` dans `pm2 list`), veuillez télécharger et installer la version NodeJS LTS à partir de https://nodejs.org. Si vous souhaitez que `hbbs`/`hbbr` s'exécute automatiquement après le redémarrage, veuillez vous référer à `pm2 save` et `pm2 startup`. En savoir plus sur [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Un autre bon outil pour vos journaux est [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
pm2 nécessite Node.js v16+, si vous ne parvenez pas à exécuter pm2 (par exemple, vous ne pouvez pas voir `hbbs`/`hbbr` dans `pm2 list`), veuillez télécharger et installer la version Node.js LTS à partir de https://nodejs.org. Si vous souhaitez que `hbbs`/`hbbr` s'exécute automatiquement après le redémarrage, veuillez vous référer à `pm2 save` et `pm2 startup`. En savoir plus sur [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Un autre bon outil pour vos journaux est [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
|
||||
Le paramètre `-r` de `hbbs` n'est pas obligatoire, il est juste pratique pour ne pas avoir à spécifier de serveur relais côté client contrôlé. Vous n'avez pas besoin de spécifier le port si vous utilisez le port 21117 par défaut. Le serveur relais spécifié par le client est prioritaire sur ce paramètre.
|
||||
{{% /notice %}}
|
||||
|
@ -141,7 +141,7 @@ pm2 start hbbr
|
||||
|
||||
<a name="demo"></a>
|
||||
{{% notice note %}}
|
||||
pm2 vereist NodeJS v16+, Als het niet lukt om pm2 te starten (bijv. u kunt `hbbs`/`hbbr` niet zien in `pm2 list`), download en installeer dan de NodeJS LTS versie van https://nodejs.org. Als je `hbbs`/`hbbr` automatisch wilt laten draaien na een herstart, kijk dan naar `pm2 save` en `pm2 startup`. Meer over [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Een ander goed hulpmiddel voor uw logs is [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
pm2 vereist Node.js v16+, Als het niet lukt om pm2 te starten (bijv. u kunt `hbbs`/`hbbr` niet zien in `pm2 list`), download en installeer dan de Node.js LTS versie van https://nodejs.org. Als je `hbbs`/`hbbr` automatisch wilt laten draaien na een herstart, kijk dan naar `pm2 save` en `pm2 startup`. Meer over [pm2](https://pm2.keymetrics.io/docs/usage/quick-start/). Een ander goed hulpmiddel voor uw logs is [pm2-logrotate](https://github.com/keymetrics/pm2-logrotate).
|
||||
|
||||
De `-r` parameter van `hbbs` is niet verplicht, het is gewoon handig om geen relay server te specificeren aan de gecontroleerde client kant. U hoeft geen poort op te geven als u de standaardpoort 21117 gebruikt. De door de klant opgegeven relaisserver heeft dan een hogere prioriteit.
|
||||
{{% /notice %}}
|
||||
|
@ -4,7 +4,7 @@ weight: 10
|
||||
---
|
||||
|
||||
{{% notice note %}}
|
||||
Don't forget to get your license from https://rustdesk.com/pricing.html, check license page for more details.
|
||||
Don't forget to get your license from https://rustdesk.com/pricing.html, check [license](/docs/en/self-host/pro/license) page for more details.
|
||||
{{% /notice %}}
|
||||
|
||||
## Install
|
||||
@ -14,7 +14,7 @@ Copy and paste the above command into your linux terminal to install RustDesk Se
|
||||
|
||||
What it does:
|
||||
|
||||
- Install some dependencys
|
||||
- Install some dependencies
|
||||
- Setup ufw firewall if available
|
||||
- Create a Folders /var/lib/rustdesk-server and /var/log/rustdesk-server
|
||||
- Installs executables into /usr/bin
|
||||
@ -30,7 +30,7 @@ Copy and paste the above command into your linux terminal to upgrade your existi
|
||||
What it does:
|
||||
|
||||
- Checks for new versions of RustDesk-Server-Pro
|
||||
- If it finds a new version it, removes the API files and downloads new executables and API files
|
||||
- If it finds a new version, it removes the API files and downloads new executables and API files
|
||||
|
||||
## Convert from Opensource
|
||||
|
||||
@ -41,7 +41,7 @@ Copy and paste the above command into your linux terminal to convert from RustDe
|
||||
What it does:
|
||||
|
||||
- Disable and removes the old services
|
||||
- Install some dependencys
|
||||
- Install some dependencies
|
||||
- Setup ufw firewall if available
|
||||
- Create a Folder /var/lib/rustdesk-server and copy the certs here
|
||||
- Delete /var/log/rustdesk and create /var/log/rustdesk-server
|
||||
|
@ -4,13 +4,13 @@ weight: 20
|
||||
---
|
||||
|
||||
## A cross roads
|
||||
You now either have two choices, you can either use pm2 (easier) or NSSM (a bit harder) to start the rustdesk server
|
||||
You now either have two choices, you can either use pm2 (easier) or NSSM (a bit harder) to start the RustDesk server
|
||||
There are some benefits to using NSSM:
|
||||
- Backwards compatibility with older windows (Windows Server 2008R2/Windows 7 and earlier although untested).
|
||||
- Backwards compatibility with older Windows (Windows Server 2008R2/Windows 7 and earlier although untested).
|
||||
- Ideal for Windows Server
|
||||
- Auto start on boot without login (The user who created the startup entry does not need to log on for it to start).
|
||||
- Running both binaries as Services.
|
||||
- Standalone (no dependency on nodejs)
|
||||
- Standalone (no dependency on Node.js)
|
||||
|
||||
While the benefits of pm2 include:
|
||||
- Good idea if you run the server on the same computer as your main work computer
|
||||
@ -21,7 +21,7 @@ While the benefits of pm2 include:
|
||||
|
||||
### Installing NSSM
|
||||
Please [download](https://nssm.cc/release/nssm-2.24.zip) and extract NSSM select the appropriate
|
||||
architecture to your windows system (if x86 use the contents of the win32 folder, if x64 use the
|
||||
architecture to your Windows system (if x86 use the contents of the win32 folder, if x64 use the
|
||||
contents of win64 folder). It is also best practice to move the binary of NSSM into the
|
||||
`Program Files\NSSM` (NSSM once started as a service, it cannot be moved from the directory it was placed in.
|
||||
thus it is best to tuck it away in Program files) directory of your Installation drive (Usually the C drive).
|
||||
@ -30,7 +30,7 @@ It is also advisable to add the path (such as `C:\Program Files\NSSM`) to the pa
|
||||
|
||||
### Checking if NSSM is installed properly
|
||||
If you've done everything correctly the folder `C:\Program Files\NSSM` (in this example I use the C:
|
||||
drive but you can use whatever drive you installed windows to or whatever path you desire) should
|
||||
drive but you can use whatever drive you installed Windows to or whatever path you desire) should
|
||||
only contain the file `nssm.exe`.
|
||||
|
||||
We will be using `C:\Program Files\NSSM` in this example
|
||||
@ -50,8 +50,8 @@ nssm install "RustDesk hbbr Service" "C:\Program Files\RustDesk Server\hbbr.exe"
|
||||
**Note:**
|
||||
- You can change `RustDesk hbbs service` to whatever you desire to name hbbs the service
|
||||
- You can change `RustDesk hbbr service` to whatever you desire to name hbbr the service
|
||||
- You can change `C:\Program Files\RustDesk Server\hbbs.exe` to wherever you placed the rustdesk binaries
|
||||
- You can change `C:\Program Files\RustDesk Server\hbbr.exe` to wherever you placed the rustdesk binaries
|
||||
- You can change `C:\Program Files\RustDesk Server\hbbs.exe` to wherever you placed the RustDesk binaries
|
||||
- You can change `C:\Program Files\RustDesk Server\hbbr.exe` to wherever you placed the RustDesk binaries
|
||||
- You do not need the `-k _` option which is optional, it's just for better security
|
||||
|
||||
**Command templates:**
|
||||
@ -64,14 +64,14 @@ nssm install <Desired hbbr servicename> <RustDesk hbbr binary path> <RustDesk hb
|
||||
```
|
||||
|
||||
**Start services**
|
||||
After successful instalationof services they need to be started.
|
||||
After successful installation of services, they need to be started.
|
||||
```cmd
|
||||
nssm start <Desired hbbs servicename>
|
||||
nssm start <Desired hbbr servicename>
|
||||
```
|
||||
|
||||
|
||||
**Done !**
|
||||
**Done!**
|
||||
|
||||
(The method above has been tested on Windows Server Core 2022 Standard).
|
||||
|
||||
@ -79,10 +79,10 @@ nssm start <Desired hbbr servicename>
|
||||
|
||||
## Installing using pm2
|
||||
|
||||
### Install NodeJs
|
||||
### Install Node.js
|
||||
|
||||
Please [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) and install NodeJS.
|
||||
NodeJs is the runtime environment of pm2, so you need to install NodeJs first。
|
||||
Please [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) and install Node.js.
|
||||
Node.js is the runtime environment of pm2, so you need to install Node.js first。
|
||||
|
||||
### Install pm2
|
||||
|
||||
|
@ -80,7 +80,7 @@ nssm start <Desired hbbr servicename>
|
||||
|
||||
### Installeer NodeJs
|
||||
|
||||
Ga naar [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) en installeer NodeJS.
|
||||
Ga naar [download](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) en installeer Node.js.
|
||||
NodeJs is de runtime-omgeving van pm2, dus u moet NodeJs eerst installeren。
|
||||
|
||||
### Installeer pm2
|
||||
|
@ -5,9 +5,9 @@ weight: 20
|
||||
|
||||
|
||||
|
||||
### Установка NodeJS
|
||||
Скачайте [NodeJS](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) и установите.
|
||||
NodeJS - это среда исполнения для pm2。
|
||||
### Установка Node.js
|
||||
Скачайте [Node.js](https://nodejs.org/dist/v16.14.2/node-v16.14.2-x86.msi) и установите.
|
||||
Node.js - это среда исполнения для pm2。
|
||||
|
||||
### Установка pm2
|
||||
В консоли (cmd, PowerShell, и т.п.) используйте команды:
|
||||
|
Loading…
Reference in New Issue
Block a user