-   Linux - Server (
-   -   Setup SVN server (

svenxix 03-03-2012 05:34 PM

Setup SVN server
I' creating an SVN server to run on my Debian box, but I can't get a connection setup. I've been following the tutorial in but I ran into a problem.

I've installed the packages, edited the dav_svn.conf file exactly, but when I type in

svn co http://localhost/svn/test
It says "svn: OPTIONS of 'http://localhost/svn/test': could not connect to server (http://localhost)"

Here is my dav_svn.conf file

<Location /svn>

  DAV svn

  SVNParentPath /var/svn

  AuthType Basic
  AuthName "Subversion Repository"

  AuthUserFile /etc/apache2/dav_svn.passwd

  Require valid-user


The repository is setup in /var/svn/test

I've run svnadmin create on the directory.

Ive set the permissions to the subversion group but I haven't mapped svn to that group.

Any ideas why the it can't connect to local host?

eSelix 03-03-2012 06:30 PM

But do you have Apache installed and running? Check "http://localhost/" in browser - you should see server response - if not then your server not works and look problems there.

By the way - if this is not a public svn server, just for you, you can use svn protocol to access repositories, no need HTTP server. This can be done with "svnserve" tool.

buri 03-04-2012 03:05 PM

Month ago I tried this and it worked like a charm. but I am using just the SVN protocol : , look at the part where he sets permissions , hope it helps

svenxix 03-05-2012 02:05 AM

Thanks! The tutorial you linked to worked great!

Resources are pretty tight on the "server" that I'm using. So its great that I don't have to use Apache to host the svn.

All times are GMT -5. The time now is 03:44 AM.