Try this for windows:
http://lifehacker.com/124212/geek-to...ome-web-server
or this for ubuntu linux:
http://net.tutsplus.com/tutorials/ph...rver-for-free/