Sunday, March 15, 2009

SVN server yum installation

got yum repaired and working. so, this great tutorial is key...

don't forget to possibly open port 3690 for svnserve -d to run.
i'm not quite there yet, but working on getting this thing to run in my environment...

accessing it via svn://fireleg.com:3690/incentto/salesrocket
or svn://fireleg.com/incentto/salesrocket doesn't seem to work.

maybe it's because i have nothing imported, but i doubt it...

to install follow this:

http://www.tonyspencer.com/2007/03/02/setup-a-subversion-server-in-4-minutes/
here's the text...
1. Create a Repository

svnadmin create /svnrepos

2. Create a SVN User

vi /svnrepos/conf/svnserve.conf

In that file add these three lines:

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

Create a password file:

vi /svnrepos/conf/passwd
in our case vi /svn/incentto/salesrocket/conf

In that file add a line for your user:

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

3. Import Your Project

(assuming you’ve put your project files in /projects/myrailsproject)

svn import /projects/myrailsproject file:///svnrepos/myrailsproject

4. Start the SVN Server as Daemon

svnserve -d

Done! You should now have a svn server running with one project named myrailsproject.

Try checking it out of the repository:

svn co svn://192.168.0.2/svnrepos/myyrailsproject

Since we set anon-access to none you should be prompted for username and password which you created in the file /svnrepos/conf/passwd.

No comments: