A service of Daily Data, Inc.
Contact Form

User Tools

Site Tools


software:rust:server_devuan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:rust:server_devuan [2025/09/18 09:34] rodolicosoftware:rust:server_devuan [2025/09/18 11:18] (current) rodolico
Line 294: Line 294:
 If you made it through the last step with no errors, you should now be able to access the server from one of the clients. If you made it through the last step with no errors, you should now be able to access the server from one of the clients.
  
 +===== Optional Steps =====
 +
 +The script that techahold wrote will ask permission, then automatically install a lightweight web server and create customized installers for Windows and Linux. I'm not going into that here, but it is pretty straightforward. Another github user, dinger1986, has install scripts for [[https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/WindowsAgentAIOInstall.ps1|Microsoft Windows]] and many flavors of [[https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/linuxclientinstall.sh|Linux]] (not Devuan, unfortunately).
 +
 +Basically, you can download those scripts and run the following commands on them. Then, make them available to your users who can run them on their computer and have RustDesk Client installed on their computer, already set up for your server.
 +
 +Download and edit the following file. Change your.url.or.ip to the URL or IP of your new server, and change contents_of_public_key_file_on_your_server to the contents of /opt/rustdesk/id_ed25519.pub. When done, you will have two files, //WindowsAgentAIOInstall.ps1//, which can be run with Windows Power Shell, and //linuxclientinstall.sh// which can be run from the command line on a Linux machine.
 +
 +<code bash>
 +#!/usr/bin/env sh
 +
 +WANIP=your.url.or.ip
 +KEY=contents_of_public_key_file_on_your_server
 +string="{\"host\":\"${wanip}\",\"relay\":\"${wanip}\",\"key\":\"${key}\",\"api\":\"https://${wanip}\"}"
 +string64=$(echo -n "$string" | base64 -w 0 | tr -d '=')
 +string64rev=$(echo -n "$string64" | rev)
 +wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/WindowsAgentAIOInstall.ps1
 +sudo sed -i "s|secure-string|${string64rev}|g" WindowsAgentAIOInstall.ps1
 +# Create linux install script
 +wget https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/linuxclientinstall.sh
 +sudo sed -i "s|secure-string|${string64rev}|g" linuxclientinstall.sh
 +</code>
 +
 +===== Links =====
 +
 +  * [[https://github.com/fhd/init-script-template|Template for creating SysV init scripts]]
 +  * [[https://github.com/techahold/rustdeskinstall/blob/master/install.sh|Excellent install script for open source RustDesk Server on Linux which uses SystemD]]
 +  * [[https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/install/|Documentation from RustDesk for installing the Open Source server]]
 +  * [[https://raw.githubusercontent.com/dinger1986/rustdeskinstall/master/|Installer Scripts for RustDesk Client]]
 +  * [[https://rustdesk.com/docs/en/self-host/client-deployment/|Several customized installer scripts for RustDesk Client]]
software/rust/server_devuan.1758206040.txt.gz · Last modified: 2025/09/18 09:34 by rodolico