I took https://relayrunner.org and compiled it into a script to install a relay:
https://github.com/nodetec/relaywizard
Just make sure that:
- you have a newly provisioned server
- it’s running debian
- you already have dns hooked up
the command is in the readme