Wednesday, September 26, 2007

Subversion Setup Notes

  • Download the and install the latest Subversion release from here:
    • http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
  • Create a repository (from the command line):
    • svnadmin create C:\desired\path\to\repository\
  • Setup the repository configuation file (C:\desired\path\to\repository\conf\svnserve.conf), by adding something similar to:
    • [general]
      anon-access=read
      auth-access=write
      password-db=passwd
  • Add users and passwords to the "C:\desired\path\to\repository\conf\passwd" file
  • Setup user permissions on the repository in the "C:\desired\path\to\repository\conf\authz" file
  • Setup a svnserve as a service (from the command line):
    • sc create svnserve binpath= "C:\Subversion Installation Directory\svnserve.exe --service --root C:\desired\path\to\repository\" displayname= "Subversion" depend= tcpip start= auto

Connect via Tortoise, and you are off and running. Now I need to do some research on AD integration for authentication.

No comments: