If you want a upnp server on Linux that will support streaming of audio and video files to your Playstation 3 (PS3), then Mediatomb is the software for you.
Grab it from the Debian repository and then configure it as required. Requires editing the config.xml file. Below is a link to my sample config.xml and an import.js which I modified that shows the audio/video files in a way in which I prefer.
I have my media content laid out like so;
/srv/media/tv/showname - series 1/episodes /srv/media/music/artist