Home > Tech, Windows > Subversion Windows Installation Quick Guide

Subversion Windows Installation Quick Guide

Yes, this is a really short and quick guide.

  1. Download the latest pre-built windows binary Subversion setup file. For example, the current latest svn-1.4.0-setup.exe
  2. Install it.
  3. Append Subversion’s bin directory (by default: C:\Program Files\Subversion\bin) into system environment variable “PATH”.
  4. Create a new system environment variable “SVN_EDITOR” and set its value to be the path of your favorite text editor. For example,
    SVN_EDITOR=C:\\notepad2

    It should be a very lightweight editor, which is used to add the comments during some of the Subversion operation, like commit. My choice, as you can see, is Notepad2.

  5. Create the Subversion repository, for example, “D:\Development\svnrepos”:
    > svnadmin create --fs-type fsfs "D:\\Development\\svnrepos"
  6. Download the SVN service program from ChanLib: SVNService.zip
  7. Extract the file SVNService.exe from SVNService.zip and put into
  8. Install the SVNService (run the command from the Subversion’s bin directory) with the argument “-d” (run as daemon) and “-r ” followed by the repository path:
    > SVNService -install -d -r "D:\\Development\\svnrepos"
  9. Optionally, install the TortoiseSVN to have a nice GUI to directly manipulate the Subversion source files in the Windows Explorer. Nothing special here. For TotalCommander (6.5 or later), to enable viewing the TortoiseSVN’s nice icon for those Subversion files, go to “Options”, “Display”, tick “Show overlay icons, e.g. for links”. It’s not really necessary to enable the normal windows context menu popup for right click. To see the context menu, just hold your right click a bit longer 🙂

Reference

Advertisements
Categories: Tech, Windows
  1. Ben
    October 31, 2006 at 11:37 pm

    This is an excellent overview of the process. If you’d like an illustrated approach, you may also find my step-by-step instructions useful:

    http://www.stanford.edu/~bsuter/subversion-setup-guide/

    It includes additional information on how to make the default set-up more secure for remote access, how to change access permissions, and how to populate the repository with initial content.

  2. November 1, 2006 at 2:09 am

    Your guide is very comprehensive and illustrative. Excellent job! I guess I would prefer to view your guide next time when I install subversion, instead of mine 🙂

  1. No trackbacks 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

%d bloggers like this: