[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How do I set up a server?

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Sat, 16 Aug 2008 00:05:52 -0500

On Aug 15, 2008, at 21:24, nate wrote:

> Ryan Schmidt wrote:
>> On Aug 15, 2008, at 18:56, nate wrote:
>>> I am trying to set up a Subversion server. How do I make the
>>> repository be accessible from my website? I have tried following
>>> the instructions at http://svnbook.red-bean.com/, but they don't
>>> really help. I am using Debian Linux.
>> What have you tried so far? What was unclear in the book? It
>> should explain everything you need to know.
> I've tried to use svnserve, with the command "svnserve -d". But the
> book doesn't say how to connect to that! It simply says to use "svn
> checkout svn://host.example.com/project1".

That's correct. For example, you would create a repository:

svnadmin create /path/to/repositories/project1

Then you would start svnserve:

svnserve -d -r /path/to/repositories

Then you can check out a working copy using:

svn checkout svn://localhost/project1

Then you can use that working copy for whatever.

> I think I need to use something like "svnserve -d --listen-
> host=my_website" but I get the error "svnserve: Can't bind server
> socket: Cannot assign requested address". What settings do I need
> to change on my website to use this?

You haven't said exactly what you're wanting to do, but let me
venture a guess: Are you saying that your repository contains the
source code of your web site, and you would like to have a web server
that reflects what's in the repository right now, and it auto-updates
itself whenever you make changes to the repository? If so, then you
want this FAQ entry:


If I've misunderstood what you're trying to do, please let us know
what exactly your goal is.

P.S: Please remember to Reply All so your reply goes to the list too,
not just to me.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-16 07:06:44 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.