Setup an SVN Repository

Most projects I work on are version controlled using Subversion (SVN).  SVN provides an effective method of tracking changes and allowing multiple developers to work on a single project - for more information visit wikipedia.

These are the simple steps I used to setup and SVN repository on my FC6 box, they should also work on most other Linux distros.  It assumes that you have svnadmin and svn already setup.

To set up a repository type...

svnadmin create /mysvnrepos

this will create a new repository at the root of your server named 'mysvnrepos'

Next create a SVN user in the svnserver.conf

vi /mysvnrepos/conf/svnserve.conf

add the following lines to the svnserve.conf file.

anon-access = none
auth-access = write
password-db = passwd

Create a password file

vi /mysvnrepos/conf/passwd

add each user on a separate line with an associated password, e.g. myuser = mypassword

john = coffeerings

Now start the SVN server...

svnserve -d

Your SVN server is now available, address: svn://mydomain/svnrepos/

More from this section

RECENT PERSONAL WORK

AllTradeArt Case Study
Kwik Travel Case Study
Allotment Case Study
Revolutionshirts Case Study

RECENT ARTICLES

Import Error: No module named django.core.management

Installing and testing the Django Framework on my new mac I came acro... read more

Quick Note on Setting Up a Mail Server

Part of the basics when setting up a mail server but I needed to put ... read more

Microformats Creator Tool

"Microformats are a way of adding simple markup to human-readable... read more

Recursive Directory Listing

Nothing too fancy but a nice way of viewing a directory tree on your ... read more

CREDITS

powered by php-wax the php framework