So I searched for how to install a linux and use it on a raspberry pi 3 A+ but the only things I can find is how to install it while connected to it directly.
What I want to do is to install the linux on a micro sd card, make all the relevant settings (like ssh, networking, etc.) and then put it in the pi, power the pi and then connect to it via ssh.
The reason for this is because I don't have a spare monitor/kb (I don't have a hdmi monitor or cable, or vga>hdmi adapter).
I wanted to install a centos7 minimal on the sd card, set up my user, ssh options, etc. and then just put the sd card in the pi and be able to connect to it.