I have my fileserver set up to run a variety of tasks since it is always on. One of the things I like is the ability to stream a variety of videos to my PS3. Natively the PS3 has limited file support for streaming so transcoding using a great open source program called PS3 Media Server is necessary.
A member of the PS3 Media Server forum, Paissad put together this script below (that is no longer hosted on the forums, so I have a mirror below) that goes through the entire installation process.
The only configuration that needs to be done is going to /etc/pms-linux/PMS.conf and specifying what folders you want to share.
Here you can find the script that goes into the init.d folder to auto-start PS3 MS upon bootup if it is not placed there automatically.