//
you're reading...
IT-Center

Subversion SVN Based Server in Windows

Svnserve Based Server

Introduction

Subversion includes Svnserve – a lightweight stand-alone server which uses a custom protocol over an ordinary TCP/IP connection. It is ideal for smaller installations, or where a full blown Apache server cannot be used.

In most cases svnserve is easier to setup and runs faster than the Apache based server, although it doesn’t have some of the advanced features. And now that SASL support is included it is easy to secure as well.

Installing svnserve

Get the latest version of Subversion from http://subversion.apache.org/getting.html . Alternatively get a pre-packaged installer from CollabNet at http://www.collab.net/downloads/subversion . This installer will setup svnserve as a Windows service, and also includes some of the tools you need if you are going to use SASL for security.

  1. If you already have a version of Subversion installed, and svnserve is running, you will need to stop it before continuing.
  2. Run the Subversion installer. If you run the installer on your server (recommended) you can skip step 4.
  3. Open the windows-explorer, go to the installation directory of Subversion (usually C:\Program Files\Subversion) and in thebin directory, find the files svnserve.exeintl3_svn.dlllibapr.dlllibapriconv.dlllibapriutil.dlllibdb*.dlllibeay32.dlland ssleay32.dll – copy these files, or just copy all of the bin directory, into a directory on your server e.g. c:\svnserve. ( you can skip this step)

Running svnserve

Now that svnserve is installed, you need it running on your server. The simplest approach is to run the following from a DOS shell or create a windows shortcut:

svnserve.exe --daemon

svnserve will now start waiting for incoming requests on port 3690. The –daemon switch tells svnserve to run as a daemon process, so it will always exist until it is manually terminated.

If you have not yet created a repository, follow the instructions given with the Apache server setup the section called “Configuration”.

To test that svnserve is working, use TortoiseSVN → Repo-Browser to view a repository.

Assuming your repository is located in c:\repos\TestRepo, and your server is called localhost, enter:

svn://localhost/repos/TestRepo

when prompted by the repo browser.
See Also : http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-serversetup-svnserve.html
_______________________________________________________________________
I tried the SVN using based server, and I created Repository in D:/Icon/SVN_FICC see picture :

If using windows xp/2003 sp2 or before, you can download Subversion & TortoiseSVN from here :

http://sourceforge.net/projects/win32svn/files/latest/download – find version Setup-Subversion-1.6.6.msi (version 1.7 need sp3)
http://tortoisesvn.net/downloads.html – TortoiseSVN-1.6.16.21511-win32-svn-1.6.17.msi

About berbagisolusi

Berbagi merupakan sebuah bentuk simbol keikhlasan untuk membantu dan menolong, sedangkan solusi adalah cara menyelesaikan masalah. Setiap manusia pasti mengalami masalah, tetapi kita tidak perlu mengalami masalah yang sama jika orang lain pernah mengalami dan kita tahu hal tersebut.

Discussion

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 9 other followers

April 2012
M T W T F S S
« Mar   May »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives

Web Statistic

Blog Stats

  • 149,580 hits
%d bloggers like this: