Subversion Installation Tutorial for Win32

Subversion Installation Tutorial for Win32


* For the client any Windows 32-bit system (Windows 95/98/ME/NT/2000/XP/2003)

* For the server a Windows NT-based system (Windows NT/2000/XP/2003)

Installation Procedure:

1. Install Apache 2.0.x:

(skip this step if you only want to install the client)

Go to:

and press the Win32 Binary (MSI Installer) link. After the download
is complete, install by double clicking.

Fill in the details, and select the port 8080 option.

2. Install Subversion:

Go to ==> Downloads ==>
Packaged Distributions ==> Win32 ==> friendly Installer program ==>


3. Check the subversion client:

    A. With your browser surf to and
    see that you see a list of files and directories there.

    B. Start a command prompt (Start -> Run -> "cmd")

    C. Change directory to a vacant directory.

    D. Type:

    svn checkout

    At the command line.

    E. After a short while you should see an entire directory tree being
    checked out.

    F. It's OK, to cancel this operation by pressing Ctrl+Break

4. Setting up a service

    A. Copy the files "" and "" from
       C:\Program Files\Subversion\apache2\modules to
       C:\Program Files\Apache Group\Apache2\modules

    B. Edit the file C:\Program Files\Apache Group\Apache2\conf\httpd.conf
    using a text editor. Uncomment the line:

        #LoadModule dav_module modules/

    and add a line:

        LoadModule dav_svn_module modules/

    to the end of the LoadModule block.

    C. In the command prompt, go to an empty directory
    and type the command:

        svnadmin create myrepos

    D. Next, in httpd.conf add the following statements to the end of the

        <Location /svn/myrepos>
            DAV svn
            SVNPath c:/path/to/directory/myrepos

    E. Start Apache.

    F. Surf to http://localhost:8080/ and make sure the server is running.

    G. Point your browser at http://localhost:8080/svn/myrepos/ and make
    sure you see a "Revision 0" notice at the top.

5. Congratulations!

    You can now run:

        svn checkout http://localhost:8080/svn/myrepos

    from the command line and start populating your repository. Read the
    Subversion book for more information on Subversion usage.