Trac + SVN on Apache. Does everything you've described and more. Works on Linux or Windows. Works fine on localhost, plus you can access if from anywhere with a web browser, should you so desire. Shouldn't take more than a couple hours to set up in entirety.
You can use Fogbugz for free if you are a student or on a team of = 2, I think. It's in the settings somewhere.
Trac + SVN on Apache. Does everything you've described and more. Works on Linux or Windows. Works fine on localhost, plus you can access if from anywhere with a web browser, should you so desire. Shouldn't take more than a couple hours to set up in entirety.