Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on A tutorial for using SVN? in the VPS & Dedicated forum
I have the svn set up (thanks to the support guys, they are superb) Now I wonder how I can get a tutorial to run ...

  1. #1
    spr
    spr is offline
    Loyal Client
    Join Date
    Jun 2006
    Posts
    71

    A tutorial for using SVN?

    I have the svn set up (thanks to the support guys, they are superb)

    Now I wonder how I can get a tutorial to run my svn

    I tried checkout with tortoisesvn and I got
    Error: PROPFIND request failed on '/'
    Error: PROPFIND of '/': 405 Method Not Allowed (http://svn.myserver.com/)

    I'm pretty much a linux noob. I was able to use svn on my old host which was running Ubuntu, thanks to a Ubuntu tutorial. But this host is running on Centos and seems like the whole configuration is really different. So I really need to get help to
    1. create new svn account
    2. create new svn repo
    3. access them (checkout/checkin)

    Any help is really appreciated

    Regards

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    What kind of account are you running this on? From my understanding, shared an SDX servers can't do SVN via WebDav because JPC is still running Apache 1.3 which isn't supported by SVN. You can still access SVN repos via SSH (svn+ssh://svn.myserver.com), but you can only have a single user account when you do it this way.

    If you are on a VPS or dedicated server you shouldn't have any problems getting SVN running, provided you have Apache 2+ and everything configured correctly.

    As far as tutorials, look at the official Subversion site and the eBook Version Control with Subversion (free online). I also find Mike Mason's Pragmatic Version Control: Using Subversion (2nd ed., 2006) to be a helpful resource.

    As far as your immeadiate questions:
    Users - user accounts depend on how you set up the repository. If you are using a web-based repository then you'll use Apache access control (htaccess and htpasswd) to manage access. If you are using SSH then it is based on your file system permissions (on my VPS, on which I use the svn+ssh method, I create user accounts and add each user to an "svn" group in /etc/groups and give my repos read-write access to any member of that group).

    Repos - There ar few ways to do it, but I generally use the command line svnadmin command:
    Code:
    svnadmin create /path/to/repo
    Checkout - since you said you are using Tortoise, just use the GUI in that to do your initial checkout.

    It sounds to me like you have an incorrect setup somewhere. Knowing the type of account would be helpful in diagnosing it. Best of luck...

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    spr
    spr is offline
    Loyal Client
    Join Date
    Jun 2006
    Posts
    71
    Hi Jason,

    I'm on a VPS account, so I think all should be fine. I also have mod_dav setup.
    I totally agree that I must have missed some setup
    I do have some repo set up under
    /var/lib/svn

    On my old ubuntu machine I would have to go to /etc/apache2/sites-available/svn to edit the file and add in the path to the repo.

    How should I do that here? Maybe editing /usr/local/apache/conf/httpd.conf?

    Thank you for your help again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •