Here’s a good quick start guide for running a relay. I think there’s a more updated version of this now but this one should set you in the right direction. For the other stuff try using the hashtag #asknostr ! https://andreneves.xyz/p/set-up-a-nostr-relay-server-in-under