Great article here:

http://www.sitepoint.com/blogs/2006/07/11/installing-and-managing-edge-rails/