rustdeskinstall/Readme.md

56 lines
1.9 KiB
Markdown
Raw Permalink Normal View History

2022-06-06 00:29:56 +02:00
# Rustdesk server Install Script
2023-03-15 21:04:52 +01:00
Easy install Script for Rustdesk on linux, should work on any 64bit (32bit arm will install rustdesk server only) debian or centos based system supporting systemd.<br>
2023-03-06 20:59:14 +01:00
For Rustdesk visit https://rustdesk.com
2022-06-06 00:29:56 +02:00
2022-08-14 00:54:43 +02:00
You can use Hetzner to test this with a $20 credit using this referal code https://hetzner.cloud/?ref=p6iUr7jEXmoB
2022-08-14 00:54:13 +02:00
2023-10-21 21:39:11 +02:00
We provide professional hosting and support for RustDesk OSS and RustDesk Pro, please email hello@techahold.com if you need assistance.
2022-06-06 00:29:56 +02:00
# How to Install the server
2022-06-06 22:51:07 +02:00
Please setup your firewall on your server prior to running the script.
2023-03-06 21:00:27 +01:00
Make sure you have got access via ssh or otherwise setup prior setting up the firewall, command for UFW is:
2022-06-06 22:52:12 +02:00
```
ufw allow proto tcp from YOURIP to any port 22
```
2023-05-15 21:27:33 +02:00
If you have UFW installed use the following commands (you only need port 8000 if you are using the preconfigured install files):
2022-06-06 22:51:07 +02:00
```
ufw allow 21115:21119/tcp
2022-08-10 01:17:18 +02:00
ufw allow 8000/tcp
2022-06-06 22:51:07 +02:00
ufw allow 21116/udp
sudo ufw enable
```
2022-06-06 00:29:56 +02:00
Run the following commands:
```
wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/install.sh
chmod +x install.sh
./install.sh
```
2023-05-15 21:27:33 +02:00
Choose your preferences from the options given in the script.
2023-05-15 21:28:06 +02:00
***Please Note:***
2023-05-15 21:29:10 +02:00
If you allow the script to create preconfigured install files (with your IP/DNS and key set) it will install gohttpserver using port 8000 for you to easily download the install scripts.
2023-05-15 21:27:33 +02:00
2023-05-30 10:03:03 +02:00
# How to update the server
Run the following commands:
```
2023-05-30 10:04:26 +02:00
wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/update.sh
chmod +x update.sh
./update.sh
2023-05-30 10:03:03 +02:00
```
2022-08-05 01:01:19 +02:00
# Rustdesk windows powershell install script
Generates a powershell script for install grabbing WAN IP and Key currently in /opt/rustdesk but will be moved to a web url for easy deployment.
2022-11-17 23:51:07 +01:00
# Tips
2023-03-06 20:58:27 +01:00
If you want to restart the services use the following commands:
2023-03-06 20:57:50 +01:00
```
2022-11-17 23:51:07 +01:00
sudo systemctl restart rustdesksignal
sudo systemctl restart rustdeskrelay
2023-03-06 20:57:50 +01:00
```