From cdf6e559590af9661e51ca3b8946804f871c8838 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 25 Jan 2025 16:21:32 +0800 Subject: [PATCH] Simplicity is a double-edged sword. It makes things easier for you and me, but it also makes things easier for bad people. So we decided to reduce the convenience. --- .../client-configuration/_index.de.md | 4 +- .../client-configuration/_index.en.md | 4 +- .../client-configuration/_index.pt.md | 4 +- .../client-configuration/_index.zh-cn.md | 4 +- .../hardcode-settings/_index.de.md | 41 ------------------- .../hardcode-settings/_index.en.md | 41 ------------------- .../hardcode-settings/_index.fr.md | 33 --------------- .../hardcode-settings/_index.nl.md | 32 --------------- .../hardcode-settings/_index.pt.md | 41 ------------------- .../hardcode-settings/_index.zh-cn.md | 37 ----------------- 10 files changed, 4 insertions(+), 237 deletions(-) delete mode 100644 content/self-host/client-configuration/hardcode-settings/_index.de.md delete mode 100644 content/self-host/client-configuration/hardcode-settings/_index.en.md delete mode 100644 content/self-host/client-configuration/hardcode-settings/_index.fr.md delete mode 100644 content/self-host/client-configuration/hardcode-settings/_index.nl.md delete mode 100644 content/self-host/client-configuration/hardcode-settings/_index.pt.md delete mode 100644 content/self-host/client-configuration/hardcode-settings/_index.zh-cn.md diff --git a/content/self-host/client-configuration/_index.de.md b/content/self-host/client-configuration/_index.de.md index 69c91e8..a407478 100644 --- a/content/self-host/client-configuration/_index.de.md +++ b/content/self-host/client-configuration/_index.de.md @@ -79,9 +79,7 @@ Sie können auch die Schritte von [oben](https://rustdesk.com/docs/de/self-host/ https://github.com/rustdesk/rustdesk-server-pro/discussions/372#discussioncomment-10473298 -### 6. [Benutzerdefinierte Einstellungen fest codieren](https://rustdesk.com/docs/de/self-host/client-configuration/hardcode-settings/) - -### 7. Befehlszeile `--config` verwenden +### 6. Befehlszeile `--config` verwenden `rustdesk.exe --config ` Sie können die Konfigurationszeichenkette über die Webkonsole (wie auf dem obigen Bild zu sehen) oder über den RustDesk-Client unter "Einstellungen → Netzwerk" abrufen ([hier](https://github.com/rustdesk/rustdesk/discussions/7118) gibt es eine Diskussion darüber). diff --git a/content/self-host/client-configuration/_index.en.md b/content/self-host/client-configuration/_index.en.md index 7bc6c1c..334a4a8 100644 --- a/content/self-host/client-configuration/_index.en.md +++ b/content/self-host/client-configuration/_index.en.md @@ -77,9 +77,7 @@ The easiest way to setup automatically is using deployment scripts found [here]( https://github.com/rustdesk/rustdesk-server-pro/discussions/372#discussioncomment-10473298 -### 6. [Hardcoding Custom Settings](https://rustdesk.com/docs/en/self-host/client-configuration/hardcode-settings/) - -### 7. Use command line `--config` +### 6. Use command line `--config` `rustdesk.exe --config ` You can get the config string from web console (you can see it on above picture) or from RustDesk client "Settings → Network" ([here](https://github.com/rustdesk/rustdesk/discussions/7118) is a discussion about this). diff --git a/content/self-host/client-configuration/_index.pt.md b/content/self-host/client-configuration/_index.pt.md index 9762f93..dc1d613 100644 --- a/content/self-host/client-configuration/_index.pt.md +++ b/content/self-host/client-configuration/_index.pt.md @@ -75,9 +75,7 @@ Você também pode seguir as etapas [acima](https://rustdesk.com/docs/pt/self-ho https://github.com/rustdesk/rustdesk-server-pro/discussions/372#discussioncomment-10473298 -### 6. [Configurações Personalizadas de Codificação](https://rustdesk.com/docs/pt/self-host/client-configuration/hardcode-settings/) - -### 7. Use a linha de comando `--config` +### 6. Use a linha de comando `--config` `rustdesk.exe --config ` Você pode obter a string de configuração do console web (você pode vê-la na imagem acima) ou do cliente RustDesk "Configurações → Rede" ([aqui](https://github.com/rustdesk/rustdesk/discussions/7118) (Em inglês) há uma discussão sobre isso). diff --git a/content/self-host/client-configuration/_index.zh-cn.md b/content/self-host/client-configuration/_index.zh-cn.md index 32fbe5b..29b6ec1 100644 --- a/content/self-host/client-configuration/_index.zh-cn.md +++ b/content/self-host/client-configuration/_index.zh-cn.md @@ -81,9 +81,7 @@ hbbs.example.com:21116 https://github.com/rustdesk/rustdesk-server-pro/discussions/372#discussioncomment-10473298 -### 6. [硬编码](https://rustdesk.com/docs/en/self-host/client-configuration/hardcode-settings/) - -### 7. 通过命令行 `--config` +### 6. 通过命令行 `--config` `rustdesk.exe --config ` diff --git a/content/self-host/client-configuration/hardcode-settings/_index.de.md b/content/self-host/client-configuration/hardcode-settings/_index.de.md deleted file mode 100644 index 239255f..0000000 --- a/content/self-host/client-configuration/hardcode-settings/_index.de.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: Benutzerdefinierte Einstellungen fest codieren -weight: 49 ---- - -### Benutzerdefinierter Server -{{% notice note %}} -Um benutzerdefinierte Servereinstellungen in Ihren ausführbaren Dateien fest einzubinden, müssen Sie den Client auf Ihrem Rechner selbst [erstellen](https://rustdesk.com/docs/de/dev/build/) oder mit [GitHub-Aktionen](https://rustdesk.com/docs/de/dev/build/all/) bauen.
-**Hinweis**: [Selbst gehostete Runner](https://docs.github.com/de/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners) für Arm werden in unseren GitHub-Aktionen verwendet, bitte richten Sie sie selbst ein. -{{% /notice %}} -{{% notice note %}} -**Wenn Sie einen dieser Werte ohne den anderen setzen, wird Ihre ausführbare Datei nicht funktionieren!** -{{% /notice %}} - -Sie können die folgenden Umgebungsvariablen auf Ihrem Betriebssystem setzen und RustDesk wird diese Variablen beim Erstellen Ihres Clients anstelle der Standardserver von rustdesk.com verwenden. - -Wenn Sie nicht wissen, wie Sie eine Umgebungsvariable auf Ihrem System setzen können, sollten Sie in der Lage sein, online eine Dokumentation für Ihr Betriebssystem zu finden, die dies erklärt. - -#### RENDEZVOUS_SERVER -Diese Variable sollte auf Ihre Server-URL gesetzt werden. - -Es sollte eine Zeichenkette sein wie -``` -rustdesk.my-domain.com -``` - -#### RS_PUB_KEY -Diese Variable wird Ihr öffentlicher Schlüssel sein, weitere Informationen über den Schlüssel finden Sie [hier](https://rustdesk.com/docs/de/self-host/install/#schlüssel). - -Es sollte eine Zeichenkette sein wie -``` -OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw= -``` - -#### API_SERVER -Standardmäßig läuft der API_SERVER auf `http://rustdesk.my-domain.com:21114`. Sie sollten ihn aus Sicherheitsgründen besser mit Nginx über HTTPS laufen lassen. - -Es sollte eine Zeichenkette sein wie -``` -https://rustdesk.my-domain.com -``` diff --git a/content/self-host/client-configuration/hardcode-settings/_index.en.md b/content/self-host/client-configuration/hardcode-settings/_index.en.md deleted file mode 100644 index 090d699..0000000 --- a/content/self-host/client-configuration/hardcode-settings/_index.en.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: Hardcoding Custom Settings -weight: 49 ---- - -### Custom Server -{{% notice note %}} -To hardcode custom server settings into your executables you must [build](https://rustdesk.com/docs/en/dev/build/) the client yourself on your machine or [with GitHub Actions](https://rustdesk.com/docs/en/dev/build/all/).
-**Note**: [self-hosted runners](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners) for Arm are used in our GitHub actions, please set it up yourself. -{{% /notice %}} -{{% notice note %}} -**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. - -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. - -#### RENDEZVOUS_SERVER -This variable should be set to your server URL. - -This should be a string such as -``` -rustdesk.my-domain.com -``` - -#### RS_PUB_KEY -This variable will be your public key, more information on the key is available [here](https://rustdesk.com/docs/en/self-host/install/#key). - -This should be a string such as -``` -OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw= -``` - -#### API_SERVER -By default the API_SERVER runs on `http://rustdesk.my-domain.com:21114`, you'd better run it behind Nginx for security with HTTPS. - -This should be a string such as -``` -https://rustdesk.my-domain.com -``` diff --git a/content/self-host/client-configuration/hardcode-settings/_index.fr.md b/content/self-host/client-configuration/hardcode-settings/_index.fr.md deleted file mode 100644 index fe7eeab..0000000 --- a/content/self-host/client-configuration/hardcode-settings/_index.fr.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Paramètres personnalisés codés en dur -weight: 49 ---- - -## Serveur personnalisé -{{% notice note %}} -Pour coder en dur les paramètres personnalisés serveur dans vos exécutables, vous devez [compiler](/docs/fr/dev/build/) le client vous-même. -{{% /notice %}} -{{% notice note %}} -**Si vous définissez l'une de ces valeurs sans définir l'autre, votre exécutable ne fonctionnera pas !** -{{% /notice %}} - -Vous pouvez définir les variables d'environnement suivantes dans votre système d'exploitation et Rustdesk les utilisera lors de la compilation du client sinon il prendra les valeurs par défaut de Rustdesk.com. - -Si vous ne savez pas comment définir une variable d'environnement dans votre système, vous devriez pouvoir trouver en ligne la documentation correspondante à votre système d'exploitation. - -#### RENDEZVOUS_SERVER -Cette variable doit être définie avec l'URL de votre serveur. - -Exemple: -``` -rustdesk-serveur.mon-domaine.fr -``` - -#### RS_PUB_KEY -Cette variable sera votre clé publique, plus d'informations sur cette clé sont disponibles [ici](/docs/fr/self-host/install/#clé) - - -Exemple: -``` -OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw= -``` diff --git a/content/self-host/client-configuration/hardcode-settings/_index.nl.md b/content/self-host/client-configuration/hardcode-settings/_index.nl.md deleted file mode 100644 index 3a6efcb..0000000 --- a/content/self-host/client-configuration/hardcode-settings/_index.nl.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: Hardcodering van aangepaste instellingen -weight: 49 ---- - -## Aangepaste Server -{{% notice note %}} -Om de aangepaste instellingen van de server vast te leggen in uw uitvoerbare bestanden, moet u de client zelf [compileren](/docs/en/dev/build/). -{{% /notice %}} -{{% notice note %}} -**Als u een van deze waarden instelt zonder de andere in te stellen, zal uw uitvoerbaar programma niet werken!** -{{% /notice %}} - -U kunt de volgende omgevingsvariabelen op uw OS instellen en rustdesk zal deze variabelen gebruiken bij het compileren van uw client in plaats van de standaard rustdesk.com servers. - -Als u niet weet hoe u een omgevingsvariabele op uw systeem moet instellen, moet u online documentatie voor uw besturingssysteem kunnen zoeken die dit uitlegt. - -#### RENDEZVOUS_SERVER -Deze variabele moet worden ingesteld op de URL van uw server. - -Dit moet een tekenreeks zijn zoals -``` -rustdesk.my-domain.com -``` - -#### RS_PUB_KEY -Deze variabele zal uw publieke sleutel zijn, meer informatie over de sleutel is beschikbaar [hier](/docs/en/self-host/install/#key). - -Dit moet een tekenreeks zijn zoals -``` -OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw= -``` diff --git a/content/self-host/client-configuration/hardcode-settings/_index.pt.md b/content/self-host/client-configuration/hardcode-settings/_index.pt.md deleted file mode 100644 index f81f8bb..0000000 --- a/content/self-host/client-configuration/hardcode-settings/_index.pt.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: Codificação Personalizada de Configurações -weight: 49 ---- - -### Servidor Personalizado -{{% notice note %}} -Para codificar configurações personalizadas do servidor em seus [executáveis](https://rustdesk.com/docs/en/dev/build/), você precisa compilar manualmente o cliente em sua máquina ou com o [GitHub Actions](https://rustdesk.com/docs/pt/dev/build/all/).
-**Observação**: [executores auto-hospedados](https://docs.github.com/pt/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners) para Arm são usados em nossas ações do GitHub. Configure-o você mesmo. -{{% /notice %}} -{{% notice note %}} -**Se você definir qualquer um desses valores sem definir o outro, seu executável não funcionará!** -{{% /notice %}} - -Você pode definir as seguintes variáveis de ambiente em seu sistema operacional e o RustDesk usará essas variáveis ao compilar seu cliente, em vez dos servidores padrão rustdesk.com. - -Se você não sabe como definir uma variável de ambiente em seu sistema, deve encontrar documentação online para o seu sistema operacional que explique isso. - -#### RENDEZVOUS_SERVER -Esta variável deve ser definida para a URL do seu servidor. - -Deve ser uma string como -``` -rustdesk.my-domain.com -``` - -#### RS_PUB_KEY -Esta variável será sua chave pública. Mais informações sobre a chave estão disponíveis [aqui](https://rustdesk.com/docs/pt/self-host/install/#key). - -Deve ser uma string como -``` -OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw= -``` - -#### API_SERVER -Por padrão, o API_SERVER é executado em `http://rustdesk.meu-dominio.com:21114`. É recomendável executá-lo por trás do Nginx por segurança com HTTPS. - -Deve ser uma string como -``` -https://rustdesk.my-domain.com -``` diff --git a/content/self-host/client-configuration/hardcode-settings/_index.zh-cn.md b/content/self-host/client-configuration/hardcode-settings/_index.zh-cn.md deleted file mode 100644 index be784a3..0000000 --- a/content/self-host/client-configuration/hardcode-settings/_index.zh-cn.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: 硬编码自定义设置 -weight: 49 ---- - -## 自定义服务器 - -{{% notice note %}} -如果您想将自定义服务器设置硬编码到您的可执行文件中,您必须在您自己的机器上[编译](/docs/zh-cn/dev/build/)客户端或者通过 [GitHub Actions](/docs/en/dev/build/all/) 完成。 -{{% /notice %}} -{{% notice note %}} -**如果您只设置了其中的一个值而没有设置另一个,您的可执行文件将无法正常工作!** -{{% /notice %}} - -您可以在您的操作系统上设置以下环境变量,RustDesk 在编译客户端时将使用这些变量而不是默认的 rustdesk.com 服务器。 - -如果您不知道如何在系统上设置环境变量,您可以在网上找到相关的操作系统文档以了解如何进行设置。 - -#### RENDEZVOUS_SERVER - -这个变量应该被设置为您自己的服务器 URL。 - -这应该是一个字符串,例如: - -```text -rustdesk.my-domain.com -``` - -#### RS_PUB_KEY - -这个变量应该是您的公钥,关于其更多信息可以参见 [Key](/docs/zh-cn/self-host/install/#key)。 - -这应该是一个字符串,例如: - -```text -OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw= -```