Update install.sh
This commit is contained in:
parent
377e861281
commit
ee40790852
@ -1,5 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/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
|
# Get Username
|
||||||
uname=$(whoami)
|
uname=$(whoami)
|
||||||
admintoken=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c16)
|
admintoken=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c16)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user