Subversion repository + Apache

Posted by Ralph on May 25, 2008

this time I will show you how to install and configure subversion repository on your development server. We will basically start where we left off in Episode #4. Tutorial will also show you how to set up Apache to access repository via http and with authorization and authentication. Have fun.

Best viewed in full screen with scaling off !!!


Episode #5. Subversion + Apache by ralphz from ralphz on Vimeo.

One Response to “Subversion repository + Apache”

  1. YAVisitor Says:

    Hi ralphz, I have a permission problem with Subclipse. I do all right but when I commit index.php file I get the following error:

    Sending /home/yavisitor/workspace/projects/svntest/index.php
    Transmitting file data …
    svn: Commit failed (details follow):
    svn: Commit failed (details follow):
    svn: Can’t make directory ‘/var/svn/test/db/transactions/4-1.txn’: Permission denied

    I have setted this permissions up:

    $ ls -la /var/svn/
    total 12
    drwxr-xr-x 3 www-data www-data 4096 2008-07-29 13:37 .
    drwxr-xr-x 60 root root 4096 2008-07-29 13:32 ..
    drwxr-xr-x 7 www-data www-data 4096 2008-07-29 13:38 testing

    $ ls -la /home/yavisitor/workspace/projects/svntest/
    total 28
    drwxr-xr-x 5 yavisitor yavisitor 4096 2008-07-29 22:42 .
    drwxr-xr-x 14 yavisitor yavisitor 4096 2008-07-29 22:40 ..
    drwxr-xr-x 2 yavisitor yavisitor 4096 2008-07-29 22:40 .cache
    -rw-r–r– 1 yavisitor yavisitor 117 2008-07-30 00:27 index.php
    -rw-r–r– 1 yavisitor yavisitor 510 2008-07-29 22:40 .project
    drwxr-xr-x 2 yavisitor yavisitor 4096 2008-07-29 22:40 .settings
    drwxr-xr-x 6 yavisitor yavisitor 4096 2008-07-30 00:29 .svn

    If I do a “sudo chown -R yavisitor:yavisitor /var/svn/” then the commit works well. If I do a “sudo chown -R www-data.www-data workspace/projects/svntest/” then Eclipse can’t write files into svntest/ directory (all very obviously)

    Then ¿what could I do?
    Thanks a lot, cheers!

Leave a Reply