A quick youtube search will provide videos like this
https://www.youtube.com/watch?v=UE77KcBCN7QVosk is a long known crypto miner and youtuber, and he'll provide the best info you need.
Just my own personal experience, go with SimpleMining OS, it further reduces the resource requirement and gives you in-depth tweaking