This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Easy and simple guide to create a Subversion (SVN) server in Windows? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Easy and simple guide to create a Subversion (SVN) server in Windows?" Watch "Easy and simple guide to create a Subversion (SVN) server in Windows?" New topic

Easy and simple guide to create a Subversion (SVN) server in Windows?

Koldo Urrutia
Ranch Hand

Joined: Dec 16, 2011
Posts: 85

Ive been literally killing myself looking up guides but most are way outdated and/or complicated. I tried a few simply ones but they simply appear to be out of date.

Can someone point me on a easy way to set it up in Windows? Ive been trying to use (as a client) TortoiseSVN but I simply cant get it to work. So I need something simply and easy.....

Thanks a lot!
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3718

Do you need it to be SVN? Some time ago I've switched from CVS to Mercurial (even converting a repository we had, though only one branch) and I didn't regret. It is easier to maintain in my opinion. We've even run it for some time without a web server, it has some basic server built right in. We're smallish company (3-4 developers) and it works well for us.

However, you should understand the differences between the centralized (SVN) and distributed (Mercurial) solutions before you consider this, and even if you decide to go distributed, you might want to check out git as well.
Pat Farrell

Joined: Aug 11, 2007
Posts: 4659

You can't use TortoiseSVN to setup a SVN server. Its a client. You need to read the instructions on how to setup a server.

SVN is a client server program, you need a server and a client.

That said, SVN has lost popularity, with Mercurial and 'git' being more modern replacements.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

There are three basic steps:

1) Install a Subversion server binary package. You can download one from I usually use Win32Svn. The Collabnet one is interesting, though, in that it gives you additional administration (though it runs a Java web server, JBoss AS if I recall correctly, to host it.)

2) Create a Subversion database. See
(By the way, you did download and look over the Subversion PDF, right?

3) Decide if you want to run with the built-in svnserver, or if you want to integrate into Apache. I always do the latter. Once again, the documentation comes to the rescue:

But having said all of this, I have to agree with Martin and Pat that if this is for your own personal use, use git or mercurial.

JBoss In Action
Koldo Urrutia
Ranch Hand

Joined: Dec 16, 2011
Posts: 85
I was told to install VisualSVN and to tell you the truth, I am very happy to see how easy it was to setup. Amazed

I can access it via HTTP but via svn:\\ Im having some issues. Anyone have any idea?

And for a Javascript project with few developers and access needed from the outside, I think a centralized system such as Subversion was the best idea. Plus, the outside party usually uses Subversion so...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17026

The "svn" URL protocol requires that you be running a native SVN server (svnserver) network port. I don't bother to, since HTTP covers a lot more ground. Subversion itself doesn't care how it's accessed other than the fact that security for the svn native interface is defined in the SVN directory tree whereas the HTTP security is managed by your HTTP server.

The fad these days is for more "crowd-based" SCM, a la git and mercurial. These systems are handy in that you aren't dependent on a single central server. That can be convenient when you spend most of your time disconnected and/or the management of the project is uncertain, but SVN and even CVS still find a lot of use. There are also combined solutions where the user operates using a detached git archive that then syncs into a central SVN server. Handy if you do a lot of programming on the road.

Customer surveys are for companies who didn't pay proper attention to begin with.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

First step: stick a Linux CD into the drive, and install.

There is no second step, you're done!

[Jess in Action][AskingGoodQuestions]
Ansari ansari

Joined: Apr 25, 2012
Posts: 1
Since from this post, the application versions have changed so the following steps

should help.

Step-1: Install the wamp and Tortoise..[Anywhere]

Step-2: Install the subversion ( [c:/svn]

Step-3: Copy ( and from (c:\svn\bin) to


Step-4: Copy (intl3_svn.dll and libdb48.dll) from (c:\svn\bin) to


Step-5: Open httpd.conf and uncomment following lines
LoadModule dav_module modules/
LoadModule dav_fs_module modules/

and add lines
LoadModule dav_svn_module modules/
LoadModule authz_svn_module modules/

It should look like this
LoadModule dav_module modules/
LoadModule dav_fs_module modules/
LoadModule dav_svn_module modules/
LoadModule authz_svn_module modules/

Step-6: In httpd.conf add following lines before (Include "c:/wamp/alias/*")
<Location /svn>
DAV svn
SVNParentPath C:/svn_repository

It should look like this
<Location /svn>
DAV svn
SVNParentPath C:/svn_repository

Step-7: Open Windows Firewall and open/add port 3690

Step-8: Create directory i.e (C:\svn_repository\project)

Step-9: Right click "project" folder -> TortoiseSVN->Create repository here

Step-10: Restart wamp

Now you should be able to view svn on (http://localhost/svn/project)

Hope this helps !
Have you checked out Aspose?
subject: Easy and simple guide to create a Subversion (SVN) server in Windows?
It's not a secret anymore!