Recommended · for beginners
Raspberry Pi: 8 Channel Relay step-by-step with software examples for automation
Why people recommend it
Step-by-step wiring of an 8-channel relay board to a Raspberry Pi with Python examples; people reuse its scripts and point to it for relay-board questions.
In their words
This is a very useful tutorial on YouTube
spezzer on raspberrypi.stackexchange.com, Aug 2014. CC BY-SA.
This is very similar relay to the one shown here Not sure how to wire my 5VDC to 120VAC arduino relay board [video] (that said, even directly following this tutorial doesn't seem to work for me)
atol ikan on electronics.stackexchange.com, Jun 2017. CC BY-SA.