How to create a minecraft server? - 1

And how do I copy a single player map and put it into the server?

Download your minecraft server software (vanilla, bukkit, or other). Run it once and it will create all the config files and a default world.
edit server.properties files and change mapname to the name of your singleplayer map.
go to %appdata%\.minecraft\saves and copy your map to the server directory.

start the server up again and all should be well. Ofcourse though, you will also need to have your ports forwarded for people to join via internet.