Thursday, June 3, 2010

SVN setup - Easy SVN setup

Steps for configuring the SVN on the XP/vista machine

Step 1: Download apache_2.2.8-win32-x86-no_ssl.msi

Step 2: Download svn-1.4.6-setup.exe

Step 3: Download TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi

Step 4:

copy C:\Program Files\Subversion\bin\mod_dav_svn.so to D:\DevTools\Apache2.2\modules

copy C:\Program Files\Subversion\bin\mod_authz_svn.so to D:\DevTools\Apache2.2\modules

copy C:\Program Files\Subversion\bin\intl3_svn.dll to D:\DevTools\Apache2.2\bin

copy C:\Program Files\Subversion\bin\libdb44.dll to D:\DevTools\Apache2.2\bin

Step 5:

Open command prompt and run the below line... Suppose your SVN directory is repository

C:\Program Files\Subversion\bin>svnadmin.exe create D:\DevTools\repository

Step 6:

After the step 5 execute below command. It will create the file named "passwd" inside the apache folder. change the username as per your wish.

D:\DevTools\Apache2.2\bin>htpasswd.exe -c D:\DevTools\Apache2.2\passwd username

Automatically using MD5 format.

New password: *********

Re-type new password: *********

Adding password for user username

Step 7:

Open file httpd.conf file present at "D:\DevTools\Apache2.2\conf\httpd.conf" and add the below line at the end of file.

#Uncommented below line for the SVN

LoadModule dav_module modules/mod_dav.so

LoadModule dav_fs_module modules/mod_dav_fs.so

#added below line for the SVN

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so

DAV svn

SVNPath "D:/DevTools/repository"

AuthType Basic

AuthName "My Subversion Repository"

AuthUserFile passwd

Require valid-user

Step 8: Restart the apache service.

Ste 9: Install the TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi

You have to start the system to see the all change or for finalize the installation.

1 comment:

  1. helpful..but if you can write some more explanation about it will be grt..

    ReplyDelete