I bet many of you are working on your own software projects and would love to have a version control at their disposal. This is useful for many reasons. If you are working with one or more friends on a joint project, if you have a desktop and a laptop and you want to work from both computers while keeping the files synchronized, or if you just want to be more organized and keep versions and backups of your work. You can also use Visual SVN to sync folders or documents between several computers.

This article will have 2 sections One will discuss the SVN Server installation and configuration and the second part will be about how to use the SVN client.

First you have to download the Visual SVN Server Installation

Installing the Visual SVN Server

Double click on the Visual SVN executable to begin the installation. After a few next next next clicks you will get this screen.

Visual SVN Installation

Here you can select the Location of the installation and the Location of the repositories (where the projects will be located). If you are using this installation on a server and intend to access it from different locations you will have to specify a Server Port for the SVN server to use which you will later forward on the router.

You also have the option to select the authentication methods either Windows users or specific Subversions users. We will leave everything as is and finish the installation.

Creating a Repository

Right Click on Repositories and select Create New Repository

Create New Repository

You will be prompted to provide a name to that repository and you will have the options to create a "default structure" which means you will get the trunk, branches and tags folders. for those of you who are familiar with source control trunk is the "Development" main branch, branches are for temporary copies of the main branch and tags are versions of the main development you want to keep for visioning. You can read more about it here.

After you have specified the repository name click ok and you are all done creating your first repository.

Configuring Users

Go to the start menu and run the Visual SVN Server Manage.

Right Click on Users and select Create User

Create SVN User

You will have to specify a username and passwords click OK and you have your first User, Weepe!

Remember the repository we created a few minutes ago, now is the time to assign premitions to our newly created user. Right click on the repository and select properties:

Assign Users

You will get the following screen:

Add User Premissions

Click on add and you will see the list of all the users in the system

Select User

Select the user you want to add permissions and click OK. You can now see that the user Amit is in the group of users that are allowed to access the SVN server

 After User Added

That’s it. You now have your own SVN server at your disposal. In the next couple of days I will show you how to work with the Visual SVN Server using it’s client, so don’t forget to Grab our feed and stay updated.

If you have any questions please comment.

Amit

Tags :

13 Responses to “How to Install Your Own Subversion Version Control Server Using Visual SVN”


  1. sole

    Said on October 5, 2008 :

    Hi, where I can find the source files when I create a repository? Example, I create a repository, connect, and pust some files. Where I can find them?

  2. Amit

    Said on October 5, 2008 :

    Hi

    You can’t :) They are incripted in the SVN repository.

    Whatever you want to do, you can do through the client or through the Visual SVN Server manager

  3. Bret

    Said on October 6, 2008 :

    Thanks for this tutorial. I’ve recently been looking into various version control systems and this tutorial has given me that little extra push to give it a try. Thanks.

  4. Amit

    Said on October 6, 2008 :

    Your Welcome,

    In the next few days I will publish the second part about using the client.

    |mit

  5. ra001

    Said on November 24, 2008 :

    Hi, thank You for tutorial.
    But can i get response of any changes?
    Example- i commit some changes and server get me e-mail or what ever about this commit.

  6. Amit

    Said on November 24, 2008 :

    Frankly I don’t know.

    I have a post lined up about advanced features for SVN, so I will keep your question in mind.

  7. Rajib

    Said on January 4, 2009 :

    thanks. ur article helps me a lot.

    thanks
    rajib

  8. Gaurav

    Said on January 19, 2010 :

    Great help ….Appreciated thanks

  9. Nilesh

    Said on April 28, 2010 :

    Hey Amit…

    This aritical is fantastic. However pl.integrate windows authentication method also. Bye for now and keep posting new technologies….

    Regards,
    -Nilesh

  10. Nayana adassuriya

    Said on May 19, 2010 :

    hi all,

    I’m a new user for the Visual SVN. I’m using Visual SVN free version and tortoise SVN as client in windows xp environment.
    I use these configuration for a PHP project. so what i do is visualSVN and xampp install in a same computer and make a make a
    client environment in side of the xampp root folder using tortoise SVN.
    now what i want is automatically update the client inside the xampp when somebody comment to the Repository

    I tried lot with hook script like fallow

    “C:/Program Files/VisualSVN Server/bin/svn.exe” update “H:/WEB SERVER/xampp/htdocs/WEBSERVER/”
    but it not succeed. and no error message.

    please help me to achieve my target.

    thanks all,
    Nayana Adassuriya

  11. Hashim

    Said on July 9, 2010 :

    Hi nice article…..could you please tell how to take back up of my repositories and also how to use for internet means server and client using router………..etc etc?i m using within my intranet but want to use in WAN?please reply

  12. bhaskar

    Said on February 23, 2011 :

    Hi amit,

    I am using selenium+ Eclipse+SVN in QA activities.

    I have followed the above mentioned steps for installaiton of SVN and SVN sucessfully installed. But my problem is I am not getting SVN in Eclipse. I have selected File->New->Other->. In this other, I am not getting SVN.

    Please help me on this issues ASAP. Thanks in advance.

  13. bharath

    Said on May 4, 2011 :

    how to push folders from client to server using tortoise svn?

Post a Comment