rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
6.46k stars 1.35k forks source link

I am looking for a full server installer script for Debian, AlmaLinux and others. #254

Open elico opened 1 year ago

elico commented 1 year ago

I know that there are deb and rpm files but I am not sure how these can be used on Debian or AlmaLinux. I assume that since the binaries are static it would work on any system that can install the deb or rpm files.

I have created an installer myself but couldn't find any ansible playbook or any other simple installer that would be able to download the latest version of the server and the rustdesk utils and then install the service. It can be nice to be able to spin up a cloud instance with cloud-init and publish on it the binaries and configuration files.

Any recommendations on where to see an example?

This is the container I have created for RustDesk-Server which works fine in general: https://github.com/elico/rustdesk-server-container

elico commented 1 year ago

A download script: https://gist.github.com/elico/2ed7bda42d0f04402a24671959c43bed

dinger1986 commented 1 year ago

you could convert this to ansible?

https://github.com/techahold/rustdeskinstall

elico commented 1 year ago

@dinger1986 Probably...

The first thing I would do is to separate each part of the install script and then make them as different roles. We can use variables for each input we need. As for the OS and the arch, that's something I have done but it will take me some time to remember. I will try to start and work on it this week.

elico commented 1 year ago

@dinger1986 I have created the next ansible playbook: https://github.com/elico/rustdesk-ansible-installer

which is a very basic installer of the service. It doesn't include anything about the public IP or domain name and doesn't include any installer file. it's very simple to add these into the installer and I will probably sit on this later on in the future.