You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kevin Kempter <ke...@consistentstate.com> on 2009/09/01 19:52:37 UTC

svn initial setup help

Hi all;

were finally rolling our code into subversion, however I'm having an access 
issue.

Here's what I've done:

1) created a new linux user svnuser (seemed appropriate to have him own the 
repos)

2) created a directory /stage/svn (as svnuser)

3) created the repo :
$ cd /stage/svn
$ svnadmin create dba

4) imported files 
(at this point I found I could not add files as another user so I changed perms 
on the /stage/svn dir)
# chown -R a+rw /stage/svn
$ cd /home/postgres/svn (where the dbatools dir is - that has our code)
$  svn import dbatools file:///stage/svn/db
Adding         dbatools/sql                                                                                       
Adding         dbatools/sql/vac_tabs.sql                                                                          
Adding         dbatools/sql/vac_qry.sql                                                                           
Adding         dbatools/sql/vac_summary_rpt.sql                                                                   
Adding         dbatools/sql/vac_density_rpt.sql                                                                   
Adding         dbatools/tmp                                                                                       
Adding         dbatools/log                                                                                       
Adding         dbatools/ddl                                                                                       
Adding         dbatools/ddl/crt_dbmon_ddl.sql                                                                     
Adding         dbatools/html                                                                                      
Adding         dbatools/bin                                                                                       
Adding ...

5) installed mod_dav_svn via yum

6) added a new conf file to apache (in /etc/httpd/conf.d)
$ cd /etc/httpd/conf.d
$ cat svn.conf

<Location /svn>
        DAV svn
        SVNPath /stage/svn
</Location>

7) restarted apache 
# service httpd restart

8) tried to do a checkout from another server on the network (the svn box is 
192.168.1.29)
[devbox]: $ cd /dev/sandbox
[devbox]: $ svn checkout http://192.168.1.29:80/svn
svn: OPTIONS of 'http://192.168.1.29:80/svn': 200 OK (http://192.168.1.29)

[devbox]: $ svn checkout http://192.168.1.29/svn
svn: OPTIONS of 'http://192.168.1.29:80/svn': 200 OK (http://192.168.1.29)


Both attempts above give me some feedback but do not checkout the repository 
for me.

Thoughts? what did I miss?

Thanks in advance

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2389913

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].