Version control for .NET with Subversion and AnkhSVN

November 30, 2008 – 22:05 by Hannes Van de Vel

Requires a Linux server (CentOS in this case, Subversion also runs on Windows if you want) and Visual Studio (2008 in this case)

Install subversion and xinetd

yum install subversion xinetd

Create the following file /etc/xinetd.d/svnserve

# default: on
# Subversion server
service svn
{
socket_type = stream
protocol = tcp
user = root
wait = no
disable = no
server = /usr/bin/svnserve
server_args = -i -r /var/svnrepo
port = 3690
}

Create your repo

svnadmin create /var/svnrepo

Edit /var/svnrepo/conf/svnserve.conf and uncomment password-db = passwd and realm = Connexeon Repository (name it as you like).

Edit /var/svnrepo/conf/passwd and create users as suggested by the sample.

Restart xinetd

service xinetd restart

Download & install AnkhSVN 2.0 on a PC with VS.NET 2008 (http://ankhsvn.net/downloads/2.0/)

Bookmark and Share

Post a Comment