Fredrick
Rookie

how to set up a svn server on Windows?


I have a desktop and it is running pretty fine despite being three years old now. I want to set up a SVN server on this desktop which is running on windows vista. But I do not know the actual process of doing it. So if someone has any experience with this tell me also. reply soon
6 months ago
Respond to this discussion
Jaimin Bhavsar | Oct 28 2011

Getting an SVN server working correctly on WinXP/2000/Vista can be a confusing process, so as I do:


  1. Install TortioseSVN of http://tortoisesvn.net/downloads
  2. Right click on an empty folder and select TortoiseSVN -> Create repository here
  3. Install Windows Server Apache from http://httpd.apache.org/download.cgi
  4. Get 'Subversion Win32 binaries for Apache to http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100 and put in C: svn
  5. Copy C: svn bin mod_authz.svn.so and C: svn bin mod_dav_svn.so to C: Program Files Apache Software Foundation Apache2.2 modules
  6. Edit C: Program Files Apache Software Foundation Apache2.2 conf httpd.conf .Add / uncomment the following lines to the LoadModule section:
  • LoadModule dav_module / mod_dav.so
  • LoadModule dav_fs_module / mod_dav_fs.so
  • LoadModule dav_svn_module / mod_dav_svn.so
  • LoadModule authz_svn_module / mod_authz_svn.so

Add the following to end of file:

DAV svn

SVNPath (path to the SVN repository you made)

AuthType Basic

AuthName "Subversion repository"

AuthUserFile passwd

# AuthzSVNAccessFile svnaccessfile

# Allow only authenticated users have access to

Require valid-user

# Allow read access to all write access to authenticated users

# Order deny, allow

# Require valid-user

Next you need to create some users that can access the SVN repository via Apache

Open Command Prompt in C: Program Files Apache Software Foundation Apache2.2

© 2012, Instamedia. Some rights reserved. Powered by Instapress and Instacheckin.