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-14 15:08:47 +02:00
Don't forget to get your license from [https://rustdesk.com/pricing.html ](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-14 15:08:47 +02:00
Copy and paste the above command into your Linux terminal to install RustDesk Server Pro.
2023-07-09 15:15:49 +02:00
`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-14 15:08:47 +02:00
- Setup UFW firewall if available
2023-07-15 22:03:06 +02:00
- Create a working directory /var/lib/rustdesk-server and a log directory /var/log/rustdesk-server
2023-07-04 12:11:02 +02:00
- Installs executables into /usr/bin
2023-07-16 18:56:00 +02:00
- 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)
2023-07-15 22:03:06 +02:00
- 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
2023-07-04 13:20:16 +02:00
2023-07-10 08:06:29 +02:00
## Upgrade
2023-07-14 15:08:47 +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.
2023-07-09 15:15:49 +02:00
`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:
2023-07-14 15:08:47 +02:00
- 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-14 15:08:47 +02:00
## Convert from open source
2023-07-09 15:15:49 +02:00
2023-07-14 15:08:47 +02:00
Copy and paste the above command into your Linux terminal to convert from RustDesk Server to RustDesk Server Pro.
2023-07-09 15:15:49 +02:00
`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-14 15:08:47 +02:00
- Setup UFW firewall if available
2023-07-15 22:03:06 +02:00
- 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
2023-07-16 18:56:00 +02:00
- 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