Update install.sh

This commit is contained in:
dinger1986 2023-07-04 10:05:05 +01:00 committed by GitHub
parent 377e861281
commit ee40790852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,13 @@
#!/bin/bash
# This script will do the following to install RustDesk Pro
# 1. Install some dependencys
# 2. Setup ufw firewall if available
# 3. Create a Folder /var/lib/rustdesk-server
# 4. Download and extract RustDesk Pro Services to the above folder
# 5. Create systemd services for hbbs and hbbr
# 6. 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.
# Get Username
uname=$(whoami)
admintoken=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c16)