Difference between revisions of "Subversion"

From John Freier
Jump to: navigation, search
Line 37: Line 37:
  
 
There is also a good '''init.d''' server start/stop file out there, just browse backups.
 
There is also a good '''init.d''' server start/stop file out there, just browse backups.
 +
 +
 +
Sources,
 +
http://vengatctech.wordpress.com/2008/08/22/installing-svn-on-fedora/
 +
http://www.tonyspencer.com/2007/03/02/setup-a-subversion-server-in-4-minutes/

Revision as of 16:20, 20 June 2011

Install SVN

This install uses Fedora Core 4, with YUM.

1. Install subversion

>yum install subversion

2. Create a nice directory structure to keep all the subversion information.

>mkdir /svn
>mkdir /svn/repos
>mkdir /svn/users
>mkdir /svn/permissions

3. Create our first repository.

>svnadmin create /svn/repos/myproject

4. Edit the config for the newly create repo.

>vi /svn/repos/conf/svnserve.conf

and add these three lines, or un-comment them.

anon-access = none
auth-access = write
password-db = passwd

5. Create the password file, with a list of users that have access.

>vi /svnrepos/conf/passwd

add users like

user = password

example: tony = mypassword

6. Start the SVN Server

>svnserve -d

7. Test out on another computer with the address,

svn co svn://192.168.1.001/svn/repos/myproject


There is also a good init.d server start/stop file out there, just browse backups.


Sources, http://vengatctech.wordpress.com/2008/08/22/installing-svn-on-fedora/ http://www.tonyspencer.com/2007/03/02/setup-a-subversion-server-in-4-minutes/