# Installing Subversion on Windows

- Download and install the [Windows binary](http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91).
- Download and install [svnservice](http://svnservice.tigris.org/).
- Because we will run Subversion as a service, *C:\\Program Files\\Subversion\\bin* must be part of the **<span class="caps">PATH</span>** environment variable. The installation should have done this but double-check this.
- Create a repository:  
    **svnadmin create “C:\\IT\\Subversion Repository”**
- Make sure file permissions on this folder are locked down. Edit the conf/svnserver.conf file:  
    \[general\]  
    anon-access = read  
    auth-access = write  
    password-db = passwd  
    \[users\]  
    ${username1} = ${password1}  
    ${username2} = ${password2}  
    ${username3} = ${password3}
- Run *SVNService Administration* and fill in location of Subversion bin folder and the repository you created above. Notice the port (3690). *Listen Host:* should be set to the <span class="caps">FQDN</span> of the server so that it can be accessed remotely. Start the service. Change firewall settings to allow connections to this port as desired.
- Install [Tortoise <span class="caps">SVN</span>](http://tortoisesvn.tigris.org/) on a client computer.
- Create a project with the usual subfolders: 
    - branches
    - tags
    - trunk

## External Links

- [http://blogs.vertigosoftware.com/teamsystem/archive/2006/01/16/Setting\_up\_a\_Subversion\_Server\_under\_Windows.aspx](http://blogs.vertigosoftware.com/teamsystem/archive/2006/01/16/Setting_up_a_Subversion_Server_under_Windows.aspx)
- [http://www.stanford.edu/~bsuter/subversion-setup-guide/](http://www.stanford.edu/~bsuter/subversion-setup-guide/)