Installing SVN on Windows
SVN or Subversion is a free version control system just like CVS. I had difficult time installing SVN server on Windows. This is what I learnt the hard way.
- Download the latest version from http://www.collab.net/downloads/subversion/
- Run the installer exe.
- Keep Repository path as the folder where you actually want to create a repository. Copy this path for reference.
- Keep Install svnserver to run as windows service checked. Hit Next.
- If you are on a local network keep host name as ‘localhost’.
- Keep host port as 81 so that it does not interfere with IIS or other webservers running on your server.
- Again give the same repository path. Keep other settings untouched. Hit Next.
- Keep hitting next until Finish.
Now that your SVN is installed you need to create a repository.
Follow these instructions to create the repository from command line. This repository should be available for local usage. You can test this using Tortoise SVN Client. But you would certainly want to share it over the network. The best way is to run svnserve as a windows service. Type “services.msc” in Run and look for Subversion server. Select it and Start/Restart it.
Now install tortoise SVN Client on other machine in the network and try checking out the repository from there using URL of repository as “svn://<IPAddress of Server>/”. Your SVN server and repository is ready.