This is a copy off the Life Hacker website to creating your own SVN using Tortoise to manage your repository. Subversion is a great idea and I think that everyone should have it. This would be great if you had a full time home server running which seems to be the next phase in home computing. LifeHacker also had a follow up article on how to use Tortoise which is right here but the program is super easy and speaks for itself.
Setting up your Subversion server
- * Download and install Apache 2.0… - for Windows, you want the Win32 Binary (MSI Installer) about half way down the page - you don’t want 2.2…. When you’re installing Apache, you can keep all the defaults unless you know what you’re doing and have your own good reasons for switching things up.

- Download and install Subversion 1.3.2 (the svn-1.3.2-setup.exe download). Again, just accept all of the defaults in the setup, making sure that “Install and configure Subversion modules…” is checked.
- Download and install TortoiseSVN (TortoiseSVN-1.3.5.6804-svn-1.3.2.msi), an attractive Subversion client for Windows that makes dealing with Subversion repositories a breeze via right-click.
- * Edit your Apache httpd.conf file at
C:\Program Files\Apache Group\Apache2\conf\httpd.conf (make a backup first in case something goes awry) to add the following lines of code to the end of the file:
# Configure Subversion repository
<Location /svn>
DAV svn
SVNPath “C:\svn”
AuthType Basic
AuthName “Subversion repository”
AuthUserFile “c:\svn_conf\passwd”
Require valid-user
</Location>

Save and close the httpd.conf file, then restart Apache.
- Create two folders on your C:\ drive - one called
svn and another called svn_conf (svn_conf is not necessary if you’re using Subversion without Apache).
* Password protect your Subversion repository by firing up the command line and typing the following commands:
cd "C:\Program Files\Apache Group\Apache2\bin"
htpasswd -c C:\svn_conf\passwd adam
substituting your name for adam.
Create your first repository

The last thing we’re going to do this week is create our repository. Go to your C:\ drive, right-click the svn folder and select TortoiseSVN -> Create repository here… command. If all goes well, TortoiseSVN should ask you what type of repository you’d like to create. Select Native filesystem (FSFS) and click OK. You will get a message telling you that “The Repository was successfully created.” Congrats!

Finally, let’s import the directory of files that you want to keep under version control into your newly-minted repository. Right-click on your to-be-controlled folder and select TortoiseSVN -> Import…. You need to give TortoiseSVN the directory of your repository, so browse for C:\svn. Click OK and all of the files under your chosen directory will be imported into your Subversion repository at C:\svn.
If you set up Subversion with Apache, you can test it out by directing your browser to http://localhost/svn and entering your username and password. If you’re not using Apache, you can verify that everything worked by right-clicking on a new folder and checking out your files from the repository (right-click -> SVN Checkout…). Just direct TortoiseSVN to the directory of your Subversion repository.
We’ve really just skimmed the surface of what you can do with Subversion, so if you still aren’t quite sure what the point is, be sure to tune in next week when I’ll demonstrate the glory of Subversion in action. In the meantime, you might want to play around with your repository, checking out and committing files, to get familiar with its most basic functions.