LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-03-2012, 05:34 PM   #1
svenxix
LQ Newbie
 
Registered: Feb 2012
Distribution: Debian, Fedora
Posts: 24

Rep: Reputation: 0
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 http://trikks.wordpress.com/2010/06/...ver-in-debian/ but I ran into a problem.

I've installed the packages, edited the dav_svn.conf file exactly, but when I type in
Code:
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
Code:
<Location /svn>

  DAV svn

  SVNParentPath /var/svn

  AuthType Basic
 
  AuthName "Subversion Repository"

  AuthUserFile /etc/apache2/dav_svn.passwd

  Require valid-user

</Location>
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?
 
Old 03-03-2012, 06:30 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Kubuntu
Posts: 1,190

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
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.

Last edited by eSelix; 03-03-2012 at 06:40 PM.
 
Old 03-04-2012, 03:05 PM   #3
buri
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Month ago I tried this and it worked like a charm. but I am using just the SVN protocol : http://odyniec.net/articles/ubuntu-subversion-server/ , look at the part where he sets permissions , hope it helps
 
1 members found this post helpful.
Old 03-05-2012, 02:05 AM   #4
svenxix
LQ Newbie
 
Registered: Feb 2012
Distribution: Debian, Fedora
Posts: 24

Original Poster
Rep: Reputation: 0
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.
 
  


Reply

Tags
debian, svn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SVN over HTTP with mod_dav_svn - Setup madsovenielsen Linux - Software 0 08-11-2011 06:00 AM
SVN Server Setup turiyain Linux - Server 3 12-18-2010 06:11 AM
Svn client on FC10: remote SVN server update errs: timed out waiting for srvr ... Amol Tupe Linux - Software 0 10-01-2010 03:25 AM
Trying to connect to SVN server after setup jaristr Linux - Server 2 11-01-2006 11:01 AM
SVN Setup & User Permissions navvywavvy Linux - Security 3 12-05-2005 02:34 PM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration