Hi and welcome :slight_smile:

Please see here:
http://wiki.openstreetmap.org/wiki/Deploying_your_own_Slippy_Map

and in particular here (the most simple way, I’ve done this myself):
http://wiki.openstreetmap.org/wiki/OpenLayers

Your second question, I didn’t quite understand.

dimka