Recently I have acquired a real server. I was wondering how to use the server to host a modded minecraft server? For example what operating server should I install on the server?
You can find a lot of useful information here: https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server
The OS doesn't matter, Windows and Linux should both work. If you want a modded server you need to download the forge server here: https://files.minecraftforge.net/