Results 1 to 7 of 7

Thread: subversion walkthrough

  1. #1
    bummelchen NNTP User

    Thumbs down subversion walkthrough

    hi folks,

    i'm completely new to opensuse. now a friend and i got us a "virtual server". we installed java, and apache and a mysql db and finally we wanted some svn server....

    now before you annoyedly send me some links,(yeah i also know that "google" ) i had several problems with too complicated -because too detailed...(for a person with my linux-intelligence==stupid-walkthroughs. i wanna install it via putty on a remote vserver to get a svnserver running so that i can use the eclipse svn plugin...

    hoping for help,

    cu bummelch
    Last edited by bummelchen; 30-Sep-2008 at 14:58. Reason: joke added ;)

  2. #2
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    301

    Default Re: subversion walkthrough

    Hi,

    I wrote a very short setup instruction a while ago Svn Server? - openSUSE Forums

    try this and when something is unclear or doesn't work then ask back

    hope this helps

  3. #3
    bummelchen NNTP User

    Default Re: subversion walkthrough

    hi, i like your walkthrough.
    i just installed apache2: yast2 -i apache2. great success
    now there is a problem creating the password file:

    "sudo htpasswd -mc /srv/svn/user_access/passwdfile myeclipseuser" is what i type, i didn't forget mkdir before that and the dirs exist!

    says:
    "sudo: htpasswd: command not found"

    doesn't work without sudo either.... so what can i do?

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,990

    Default Re: subversion walkthrough

    Try htpasswd2.
    Henk van Velden

  5. #5
    bummelchen NNTP User

    Default Re: subversion walkthrough

    that was it. thanx

    but stop, sorry i got another problem ....

    apache won't start and module isn't installed?!? :

    I typed: "service apache2 start", console says:
    ----------------
    Module "mod_dav_svn" is not installed, ignoring.
    Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
    Starting httpd2 (prefork) httpd2-prefork: Syntax error on line 180 of /etc/apach e2/httpd.conf: Syntax error on line 102 of /etc/apache2/default-server.conf: Syn tax error on line 1 of /etc/apache2/conf.d/subversion.conf: Expected </IfModule> before end of configuration

    The command line was:
    /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL
    ---------------

    what now?

  6. #6
    bummelchen NNTP User

    Default Re: subversion walkthrough

    oh maybe you'll be interested in knowing that i had to create the file "/etc/apache2/config.d/subversion.conf"

    i used the sample file from your link:
    Code:
    <IfModule mod_dav_svn.c>
    <Location /repos> #or any other
    ** DAV svn
    ** # pfad zum subversion verzeichnis (absolut)
    ** SVNParentPath /srv/svn/repos/ #or any other
    
    ** # Limit write permission to list of valid users.
    ** <LimitExcept GET PROPFIND OPTIONS REPORT>
    ******# Require SSL connection for password protection.
    ******# SSLRequireSSL
    
    ******AuthType Basic
    ******AuthName "Authorization Realm"
    ******# path to password file
    ******AuthUserFile /srv/svn/user_access/passwdfile
    ******Require valid-user
    ** </LimitExcept>
    </Location>

  7. #7
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    301

    Default Re: subversion walkthrough

    Hi,

    during forum conversions there get some wrong chars in the file. It should look like this:
    Code:
    <IfModule mod_dav_svn.c>
    <Location /repos>
       DAV svn
       # path to subversion repository directory (absolute)
       SVNParentPath /srv/svn/html/
    
       # Limit write permission to list of valid users.
       <LimitExcept GET PROPFIND OPTIONS REPORT>
          # Require SSL connection for password protection.
          # SSLRequireSSL
    
          AuthType Basic
          AuthName "Authorization Realm"
          # path to password file
          AuthUserFile /srv/svn/user_access/myproject_passwdfile
          Require valid-user
       </LimitExcept>
    </Location>
    </IfModule>
    and of course the closing IfModule was missing

    hope this helps

Tags for this Thread

Posting Permissions

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