techahold / rustdeskinstall

Easy install Script for Rustdesk
MIT License
357 stars 110 forks source link

How to install this script with own web server (Nginx)? #23

Closed nekooee closed 1 year ago

nekooee commented 1 year ago

I have a vps with the nginix web server. During the running of the script, step 2, it will ask if you want to install the HTTP web server. I already have the Nginx installed, so I said no and the installation is finished. But there is no explanation in the document that if we want to use our own web server (Ngnix), what should we do next?!

dinger1986 commented 1 year ago

The http server is only used for serving the config files, if you dont need them dont use the http server. if you want to figure out nginx infront of gohttp server you can read up here, https://github.com/codeskyblue/gohttpserver. its out of scope at the moment as dont want to be adding nginx installs to a very lean system.

nekooee commented 1 year ago

The http server is only used for serving the config files, if you dont need them dont use the http server. if you want to figure out nginx infront of gohttp server you can read up here, https://github.com/codeskyblue/gohttpserver. its out of scope at the moment as dont want to be adding nginx installs to a very lean system.

very thank you. By checking the install.sh file, I find that it is installed in the "/opt/rustdesk" path. But now I don't know how to restart hbbr and hbbs or stop and start! In manual mode, this is done by pm2. But now that it has been implemented through the install.sh file, I don't know how it works?!

dinger1986 commented 1 year ago

It's just a standard service

sudo systemctl start rustdesksignal

sudo systemctl start rustdeskrelay

Or stop or restart.