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

an SVN "quick start" guide

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: 2005-01-11 17:54:57 CET

  since it appears that a few others where i work will want to start
setting up their own SVN repos, i thought i'd dash off a "quick start"
guide for them, and would appreciate any feedback before i put it up
on an internal wiki.

  the environment:
        fedora core 3
        svnserve/xinetd-based
        FSFS filesystem for all repos

the recipe for my colleagues who are complete newbies to SVN but
pretty good with fedora core linux:

 ===================================

1) add a new account, say "repos", as the owner/manager of all repos
   that will be stored under /home/repos. (i recommend "repos" rather
   than, say, "svn" since i'd like to keep *all* repos on a machine,
   be they SVN, CVS, arch ... together, and have a central
   administration for them.)

2) as that new account, create all new repos:

   $ svnadmin create /home/repos/r1 --fs-type fsfs
   $ svnadmin create /home/repos/r2 --fs-type fsfs

3) "/etc/xinetd.d/svnserver" file:

        service svn
        {
                   disable = no
                   socket_type = stream
                   protocol = tcp
                   user = repos
                   wait = no
                   server = /usr/bin/svnserve
                   server_args = --inetd --root /home/repos
                   log_on_success +=USERID
                   log_on_failure += USERID
        }

   # service xinetd reload

4) for each repo, "conf/svnserve.conf" file:

        [general]
        password-db = passwd
        realm = Whatever
        anon-access = read
        auth-access = write

5) each user:

   $ export SVN_EDITOR=vi

does that look minimally complete to get them started? anything
critical i missed? thanks.

rday

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 11 17:58:38 2005

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