This commit is contained in:
rustdesk
2025-02-22 11:27:41 +08:00
parent c9f48bc0aa
commit 3bc06d1b77
9 changed files with 97 additions and 76 deletions

View File

@@ -0,0 +1,70 @@
---
title: Einfache Installation
weight: 10
---
{{% notice note %}}
Vergessen Sie nicht, Ihre Lizenz unter [https://rustdesk.com/pricing/](https://rustdesk.com/pricing/) zu erwerben, auf der Seite [Lizenz](https://rustdesk.com/docs/de/self-host/rustdesk-server-pro/license/) finden Sie weitere Informationen.
Bitte lesen Sie zuerst die [OSS-Installation](https://rustdesk.com/docs/de/self-host/rustdesk-server-oss/install/), bevor Sie diese einfache Installation durchführen. Dort erfahren Sie mehr über die zugrunde liegenden Details.
{{% /notice %}}
### Installation
Kopieren Sie den obigen Befehl und fügen Sie ihn in Ihr Linux-Terminal ein, um RustDesk Server Pro zu installieren.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
Was es bewirkt:
- Installiert einige Abhängigkeiten
- Richtet die UFW-Firewall ein, falls vorhanden
- Erstellt den Arbeitsordner `/var/lib/rustdesk-server` und den Protokollordner `/var/log/rustdesk-server`
- Installiert die ausführbaren Dateien in `/usr/bin`
- Lädt RustDesk Pro Services herunter und entpackt sie in den oben genannten Ordner
- Erstellt systemd-Dienste für hbbs und hbbr (Die Dienstnamen lauten rustdesk-hbbs.service und rustdesk-hbbr.service)
- Wenn Sie Domain gewählt haben, werden Nginx und Certbot installiert, sodass die API auf Port 443 (HTTPS) verfügbar ist und ein SSL-Zertifikat über Port 80 abgerufen werden kann, das automatisch erneuert wird
{{% notice note %}}
So können Sie [HTTPS für die Webkonsole manuell einrichten](https://rustdesk.com/docs/de/self-host/rustdesk-server-pro/faq/#https-für-die-webkonsole-manuell-einrichten).
{{% /notice %}}
{{% notice note %}}
Wenn der systemd-Dienst nicht gestartet werden kann, hängt es wahrscheinlich mit SELinux zusammen, überprüfen Sie dies [hier](https://rustdesk.com/docs/de/self-host/rustdesk-server-pro/faq/#selinux).
{{% /notice %}}
{{% notice note %}}
Wenn Ihr Client keine Verbindung zu Ihrem Server herstellen kann oder Sie keinen Zugriff auf die Webkonsole haben, überprüfen Sie dies [hier](https://rustdesk.com/docs/de/self-host/rustdesk-server-pro/faq/#firewall).
{{% /notice %}}
### Upgrade
Kopieren Sie den obigen Befehl und fügen Sie ihn in Ihr Linux-Terminal ein, um Ihre bestehende RustDesk Server Pro-Installation zu aktualisieren. Dies kann auch lokal gespeichert und mit cron geplant werden.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)`
Was es bewirkt:
- Überprüft auf neue Versionen von RustDesk Server Pro
- Wenn eine neue Version gefunden wird, werden die API-Dateien entfernt und neue ausführbare Dateien und API-Dateien heruntergeladen
### Konvertierung von Open Source
Kopieren Sie den obigen Befehl und fügen Sie ihn in Ihr Linux-Terminal ein, um von RustDesk Server zu RustDesk Server Pro zu konvertieren.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/convertfromos.sh)`
{{% notice note %}}
Bitte fügen Sie den TCP-Port `21114` zu Ihrer Firewall hinzu. Dies ist ein zusätzlicher Port für die Webkonsole und die Benutzeranmeldung im RustDesk-Client.
{{% /notice %}}
Was es bewirkt:
- Deaktiviert und entfernt die alten Dienste
- Installiert einige Abhängigkeiten
- Richtet die UFW-Firewall ein, falls vorhanden
- Erstellt den Ordner `/var/lib/rustdesk-server` und kopiert die Zertifikate dorthin
- Löscht `/var/log/rustdesk` und erstellt `/var/log/rustdesk-server`
- Lädt RustDesk Pro Services herunter und entpackt sie in den oben genannten Ordner
- Erstellt systemd-Dienste für hbbs und hbbr (Die Dienstnamen lauten rustdesk-hbbs.service und rustdesk-hbbr.service)
- Wenn Sie Domain gewählt haben, werden Nginx und Certbot installiert, sodass die API auf Port 443 (HTTPS) verfügbar ist und ein SSL-Zertifikat über Port 80 abgerufen werden kann, das automatisch erneuert wird

View File

@@ -0,0 +1,82 @@
---
title: Simple Install
weight: 10
---
{{% notice note %}}
Don't forget to get your license from [https://rustdesk.com/pricing/](https://rustdesk.com/pricing/), check [license](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/license/) page for more details.
Please read [OSS installation](https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/) first before doing this simple install. You can know more underlying details there.
{{% /notice %}}
### Install
Copy and paste the above command into your Linux terminal to install RustDesk Server Pro.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
{{% notice note %}}
I recommend using [the Docker image](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/installscript/docker/#docker-compose); it greatly simplifies the process of deploying the solution as well as updating it. The resource consumption is very low.
{{% /notice %}}
What it does:
- Install some dependencies
- Setup UFW firewall if available
- Create a working directory `/var/lib/rustdesk-server` and a log directory `/var/log/rustdesk-server`
- Installs executables into `/usr/bin`
- Download and extract RustDesk Pro Services to the above folder
- Create systemd services for hbbs and hbbr (service names are rustdesk-hbbs.service and rustdesk-hbbr.service)
- If you choose Domain, it will install Nginx and Certbot, allowing the API to be available on port 443 (HTTPS) and get an SSL certificate over port 80, it is automatically renewed. When the https is ready, please access with https://yourdomain.com rather than https://yourdomain.com:21114.
{{% notice note %}}
How to [Set up HTTPS for web console manually](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#set-up-https-for-web-console-manually).
{{% /notice %}}
{{% notice note %}}
If the systemd service fails to start, it is probably related to SELinux, please check [this](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#selinux).
{{% /notice %}}
{{% notice note %}}
If your client cannot connect to your server or you cannot access the web console, please check [this](https://rustdesk.com/docs/en/self-host/rustdesk-server-pro/faq/#firewall).
{{% /notice %}}
### Upgrade
Copy and paste the above command into your Linux terminal to upgrade your existing RustDesk Server Pro installation, this could also be saved locally and scheduled with cron.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)`
{{% notice note %}}
If you encounter issues with this script, I would suggest you go through the script and execute the steps manually, one by one.
{{% /notice %}}
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
### Convert from open source
Copy and paste the above command into your Linux terminal to convert from RustDesk Server to RustDesk Server Pro.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/convertfromos.sh)`
{{% notice note %}}
Please add `21114` TCP port to your firewall, this is additional port for web console and user login in RustDesk client.
{{% /notice %}}
{{% notice note %}}
I would suggest switching to a Docker installation if you encounter issues with this script. Alternatively, you can go through the script and execute the steps manually, one by one.
{{% /notice %}}
What it does:
- Disable and removes the old services
- 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`
- Download and extract RustDesk Pro Services to the above folder
- Create systemd services for hbbs and hbbr (service names are rustdesk-hbbs.service and rustdesk-hbbr.service)
- If you choose Domain, it will install Nginx and Certbot, allowing the API to be available on port 443 (HTTPS) and get an SSL certificate over port 80, it is automatically renewed

View File

@@ -0,0 +1,70 @@
---
title: Instalação Simples
weight: 10
---
{{% notice note %}}
Não se esqueça de obter sua licença em [https://rustdesk.com/pricing.html](https://rustdesk.com/pricing.html), verifique a página de [licença](https://rustdesk.com/docs/pt/self-host/rustdesk-server-pro/license/) para mais detalhes.
Leia primeiro a [instalação do OSS](https://rustdesk.com/docs/pt/self-host/rustdesk-server-oss/install/) antes de realizar esta instalação simples. Você pode conhecer mais detalhes subjacentes lá.
{{% /notice %}}
### Instalar
Copie e cole o comando acima em seu terminal Linux para instalar o RustDesk Server Pro.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
O que ele faz:
- Instala algumas dependências
- Configura o firewall UFW, se disponível
- Cria um diretório de trabalho `/var/lib/rustdesk-server` e um diretório de log `/var/log/rustdesk-server`
- Instala executáveis em `/usr/bin`
- Baixa e extrai os serviços RustDesk Pro para a pasta acima
- Cria serviços systemd para hbbs e hbbr (os nomes dos serviços são rustdesk-hbbs.service e rustdesk-hbbr.service)
- Se você escolher Domínio, ele instalará o Nginx e o Certbot, permitindo que a API esteja disponível na porta 443 (HTTPS) e obtenha um certificado SSL pela porta 80, sendo renovado automaticamente
{{% notice note %}}
Como configurar [manualmente o HTTPS para o console web](https://rustdesk.com/docs/pt/self-host/rustdesk-server-pro/faq/#set-up-https-for-web-console-manually).
{{% /notice %}}
{{% notice note %}}
Se o serviço systemd não iniciar, provavelmente está relacionado ao SELinux. Verifique [aqui](https://rustdesk.com/docs/pt/self-host/rustdesk-server-pro/faq/#selinux).
{{% /notice %}}
{{% notice note %}}
Se o seu cliente não consegue se conectar ao servidor ou você não consegue acessar o console web, verifique [aqui](https://rustdesk.com/docs/pt/self-host/rustdesk-server-pro/faq/#firewall).
{{% /notice %}}
### Atualizar
Copie e cole o comando acima em seu terminal Linux para atualizar sua instalação existente do RustDesk Server Pro. Isso também pode ser salvo localmente e agendado com o cron.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)`
O que ele faz:
- Procura por novas versões do RustDesk Server Pro
- Se encontrar uma nova versão, remove os arquivos da API e baixa novos executáveis e arquivos da API
### Converter do código aberto
Copie e cole o comando acima em seu terminal Linux para converter do RustDesk Server para o RustDesk Server Pro.
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/convertfromos.sh)`
{{% notice note %}}
Adicione a porta TCP `21114` ao seu firewall. Esta é a porta adicional para o console web e login do usuário no cliente RustDesk.
{{% /notice %}}
O que ele faz:
- Desativa e remove os serviços antigos
- Instala algumas dependências
- Configura o firewall UFW, se disponível
- Cria uma pasta `/var/lib/rustdesk-server` e copia os certificados aqui
- Exclui `/var/log/rustdesk` e cria `/var/log/rustdesk-server`
- Baixa e extrai os serviços RustDesk Pro para a pasta acima
- Cria serviços systemd para hbbs e hbbr (os nomes dos serviços são rustdesk-hbbs.service e rustdesk-hbbr.service)
- Se você escolher Domínio, ele instalará o Nginx e o Certbot, permitindo que a API esteja disponível na porta 443 (HTTPS) e obtenha um certificado SSL pela porta 80, sendo renovado automaticamente

View File

@@ -0,0 +1,52 @@
---
title: 简易安装
weight: 10
---
{{% notice note %}}
别忘了从 https://rustdesk.com/pricing.html 取得授权,查阅[授权](/docs/en/self-host/rustdesk-server-pro/license)页面以了解详情。
{{% /notice %}}
## 安装
复制并在您的 Linux 控制台中贴上下列指令以安装 RustDesk 服务器专业版。
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
流程:
- 安装依赖包
- 在可用情况下设定 ufw 防火墙
- 建立文件夹 /var/lib/rustdesk-server 和 /var/log/rustdesk-server
- 在 /usr/bin 安装可执行文件
- 下载 RustDesk 专业版服务并解压缩到上述文件料夹
- 为 hbbs 和 hbbr 建立 systemd 服务
- 如果您选择了 Domain将安装 Nginx 和 certbot让 API 能够在端口 443 (https) 存取,并透过端口 80 取得 SSL 证书,这将自动更新
## 升级
复制并在您的 Linux 终端机中贴上下列指令以升级现有的 RustDesk 服务器专业版安装。您可以使用 cron 定期执行此命令。
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)`
流程:
- 检查 RustDesk-Server-Pro 的新版本
- 如果找到新版本,移除 API 文件并下载新可执行文件和 API 文件
## 从开源版本转换
复制并在您的 Linux 终端机中贴上下列指令以从 RustDesk 伺服器转换至 RustDesk 伺服器专业版。
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/convertfromos.sh)`
流程:
- 停用并移除旧服务
- 安装依赖包
- 在可用情况下设定 ufw 防火墙
- 建立文件夹 /var/lib/rustdesk-server 并将证书复制到该文件夹
- 删除 /var/log/rustdesk 并建立 /var/log/rustdesk-server
- 下载 RustDesk 专业版服务并解压缩到上述文件夹
- 为 hbbs 和 hbbr 建立 systemd 服务
- 如果您选择了 Domain将安装 Nginx 和 certbot让 API 能够在端口 443 (https) 存取,并透过端口 80 取得 SSL 证书,这将自动更新

View File

@@ -0,0 +1,52 @@
---
title: 簡易安裝
weight: 10
---
{{% notice note %}}
別忘了從 https://rustdesk.com/pricing.html 取得授權,查閱[授權](/docs/en/self-host/rustdesk-server-pro/license)頁面以了解詳情。
{{% /notice %}}
## 安裝
複製並在您的 Linux 終端機中貼上下列指令以安裝 RustDesk 伺服器專業版。
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/install.sh)`
流程:
- 安裝依賴套件
- 在可用情況下設定 ufw 防火牆
- 建立資料夾 /var/lib/rustdesk-server 和 /var/log/rustdesk-server
- 在 /usr/bin 安裝執行檔
- 下載 RustDesk 專業版服務並解壓縮到上述資料夾
- 為 hbbs 和 hbbr 建立 systemd 服務
- 如果您選擇了 Domain將安裝 Nginx 和 certbot讓 API 能夠在連接埠 443 (https) 存取,並透過連接埠 80 取得 SSL 證書,這將自動更新
## 升級
複製並在您的 Linux 終端機中貼上下列指令以升級現有的 RustDesk 伺服器專業版安裝。您可以使用 cron 定期執行此指令。
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/update.sh)`
流程:
- 檢查 RustDesk-Server-Pro 的新版本
- 如果找到新版本,移除 API 檔案並下載新執行檔和 API 檔案
## 從開源版本轉換
複製並在您的 Linux 終端機中貼上下列指令以從 RustDesk 伺服器轉換至 RustDesk 伺服器專業版。
`bash <(wget -qO- https://raw.githubusercontent.com/rustdesk/rustdesk-server-pro/main/convertfromos.sh)`
流程:
- 停用並移除舊服務
- 安裝依賴套件
- 在可用情況下設定 ufw 防火牆
- 建立資料夾 /var/lib/rustdesk-server 並將證書複製到該資料夾
- 刪除 /var/log/rustdesk 並建立 /var/log/rustdesk-server
- 下載 RustDesk 專業版服務並解壓縮到上述資料夾
- 為 hbbs 和 hbbr 建立 systemd 服務
- 如果您選擇了 Domain將安裝 Nginx 和 certbot讓 API 能夠在連接埠 443 (https) 存取,並透過連接埠 80 取得 SSL 證書,這將自動更新