doc.rustdesk.com/content/self-host/pro/installscript/_index.en.md

51 lines
2.1 KiB
Markdown
Raw Normal View History

2023-07-04 11:14:36 +02:00
---
2023-07-09 15:15:49 +02:00
title: Simple Install
2023-07-04 11:14:36 +02:00
weight: 10
---
2023-07-10 08:06:29 +02:00
{{% notice note %}}
2023-07-13 13:06:05 +02:00
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.
2023-07-10 08:06:29 +02:00
{{% /notice %}}
2023-07-09 15:15:49 +02:00
2023-07-10 08:06:29 +02:00
## Install
2023-07-09 15:15:49 +02:00
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)`
2023-07-04 13:20:16 +02:00
2023-07-04 11:14:36 +02:00
What it does:
2023-07-13 13:06:05 +02:00
- Install some dependencies
2023-07-04 11:14:36 +02:00
- Setup ufw firewall if available
2023-07-05 10:41:14 +02:00
- Create a Folders /var/lib/rustdesk-server and /var/log/rustdesk-server
2023-07-04 12:11:02 +02:00
- Installs executables into /usr/bin
2023-07-04 11:14:36 +02:00
- Download and extract RustDesk Pro Services to the above folder
- Create systemd services for hbbs and hbbr
2023-07-04 13:20:16 +02:00
- If you chose 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, this will autorenew
2023-07-10 08:06:29 +02:00
## Upgrade
2023-07-09 15:15:49 +02:00
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)`
2023-07-04 13:20:16 +02:00
What it does:
- Checks for new versions of RustDesk-Server-Pro
2023-07-13 13:06:05 +02:00
- If it finds a new version, it removes the API files and downloads new executables and API files
2023-07-04 13:20:16 +02:00
2023-07-10 08:06:29 +02:00
## Convert from Opensource
2023-07-09 15:15:49 +02:00
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)`
2023-07-04 13:20:16 +02:00
2023-07-13 13:06:05 +02:00
What it does:
2023-07-04 13:20:16 +02:00
- Disable and removes the old services
2023-07-13 13:06:05 +02:00
- Install some dependencies
2023-07-04 13:20:16 +02:00
- Setup ufw firewall if available
- Create a Folder /var/lib/rustdesk-server and copy the certs here
2023-07-05 10:44:51 +02:00
- Delete /var/log/rustdesk and create /var/log/rustdesk-server
2023-07-04 13:20:16 +02:00
- Download and extract RustDesk Pro Services to the above folder
- Create systemd services for hbbs and hbbr
2023-07-04 11:14:36 +02:00
- If you chose 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, this will autorenew.