This question already has an answer here:
I need to build an server (Ubuntu 9.10 server) to host source control (subversion) from my house. What are the minimum specs (processor and RAM) to do this with good performance? I'll need to buy some new parts from newegg and just need enough to get by. It may also serve as a file server for other things in the future, but nothing intensive like media streaming. I only need about a 1GB repository, and 2 or 3 users.