Wednesday, February 11, 2009

svn server setup tutorial in fedora core 9

1. First you should Create a SVN Repository
svnadmin create /svnrepos
2. Then Create a SVN User
vi /svnrepos/conf/svnserve.conf

In that file add these three lines below:

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

Create a password file:

vi /svnrepos/conf/passwd

In that file add a line for your user:

# add users in the format : user = password
tony = mypassword

3. Now Import Your Project
(assuming you’ve put your project files in /projects/mytestproj)
svn import /projects/mytestproj file:///svnrepos/mytestproj

4. Start the SVN Server as Daemon, Lets Ahead
svnserve -d

now you have a SVN server running with one project named mytestproj.
Try checking it out of the repository:svn co svn://192.168.0.2/svnrepos/mytestproj

Reference Taken from:
http://www.tonyspencer.com/2007/03/02/setup-a-subversion-server-in-4-minutes/


No comments:

Post a Comment