Directory Freebies VS CheatSheet Forum

RSS

Email

Translate

Home About Archive Privacy Contact Advertise Write for Dev102

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: , , , , , , ,

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


  1. sole Said on Oct 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 Oct 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 Oct 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 Oct 6, 2008 :

    Your Welcome,

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

    |mit

  5. ra001 Said on Nov 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 Nov 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 Jan 4, 2009 :

    thanks. ur article helps me a lot.

    thanks
    rajib

Post a Comment

Write Article for Dev102

Write for Dev102!

We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution

Learn More