Install SVN Server on Fedora 28/27, CentOS/RHEL 7.5/6.9 - Comment Page: 9

This is guide, howto install SVN (Subversion) server on Fedora 28/27/26, CentOS 7.5/6.9, Red Hat (RHEL) 7.5/6.9. What is SVN (Subversion)? Subversion is a free/open-source version control system. Subversion manages files and directories, and the changes made to them, over time. This allows you to recover older versions of your data, or examine the history of how your data changed. In this regard, many people think of a version control system as a sort of "time machine". [inttf_post_ad1] Install SVN (Subversion) Server on Fedora 28/27/26, CentOS 7.5/6.9, Red Hat (RHEL) 7.5/6.9 1. Change root user su - ## OR ## sudo -i 2. Install needed packages (mod_dav_svn and...

314 comments on “Install SVN Server on Fedora 28/27, CentOS/RHEL 7.5/6.9 - Comment Page: 9

1 7 8 9 10
    1. Hi J R

      thank for share this.
      after i install SVN ready by following these step i get an error in log file
      “configuration error: couldn’t perform authentication. AuthType not set!: /svn/repo”

      do you know what kind of that error.
      thank in advance!

      Reply
    2. hi J R,

      i’ve got an error in log file
      “configuration error: couldn’t perform authentication. AuthType not set!: /svn/repo”

      pls help.thank you

      Reply
      • Hi lideth,

        Could you post content of your subversion.conf file?

        Reply
    3. For some reason i dont get the popup of username password in domainzguru.com/svn/dgrepo

      Reply
    4. hi JR,
      now i can use my svn but i still don’t get the popup of username password in myDomain.com/svn/dgrepo on browser.

      here is my subversion.conf:

      LoadModule dav_svn_module modules/mod_dav_svn.so
      LoadModule authz_svn_module modules/mod_authz_svn.so

      #
      # Example configuration to enable HTTP access for a directory
      # containing Subversion repositories, “/var/www/svn”. Each repository
      # must be both:
      #
      # a) readable and writable by the ‘apache’ user, and
      #
      # b) labelled with the ‘httpd_sys_content_t’ context if using
      # SELinux
      #

      #
      # To create a new repository “http://localhost/repos/stuff” using
      # this configuration, run as root:
      #
      #
      # # cd /var/www/svn
      # # svnadmin create stuff
      # # chown -R apache.apache stuff
      # # chcon -R -t httpd_sys_content_t stuff
      #

      #
      # DAV svn
      # SVNParentPath /var/www/svn
      #
      # # Limit write permission to list of valid users.
      #
      # # Require SSL connection for password protection.
      # # SSLRequireSSL
      #
      # AuthType Basic
      # AuthName “Authorization Realm”
      # AuthUserFile /path/to/passwdfile
      # Require valid-user
      #
      #

      DAV svn
      SVNParentPath /var/www/svn/
      SVNListParentPath on
      AuthzSVNAnonymous Off
      AuthzSVNAuthoritative On
      SVNPathAuthz On
      AuthName Basic
      AuthName “SVN1 Repositories”
      AuthUserFile /etc/svn-auth-users
      AuthzSVNAccessFile /etc/svn-access-control
      Require valid-user

      do you have any idea about it?

      thank you very much.

      Reply
      • Hi lideth,

        Try to change following lines:

        
        AuthName Basic
        AuthName “SVN1 Repositories”
        

        To:

        
        AuthType Basic
        AuthName "SVN1 Repositories"
        

        Then restart httpd.

        Reply
    5. hi JR,
      i’ve already changed my subversion.conf,but it’s still nothing change.

      Reply
        • hi JR,

          i’ve already post my full configs to that URL for long time. but you not yet reply me back, how is that?

          thank you.

          Reply
          • Hi lideth,

            I couldn’t find any link to your “paste” from your comments? So could you also post link here…

            Reply
    6. hi JR,

      i just reconfig firewall..

      thanks

      Reply
    7. One thing you forgot to mention is that /var/www/svn is your apache web root. If its not, then you will run into permission trouble.
      Can't open file '/var/www/svn/repos/db/txn-current-lock'

      Reply
      • Hi Hardik,

        Forgot to answer this, but actually you can see that on my example subversion.conf.

        SVNParentPath directory-path

        Specifies the location in the filesystem of a parent directory whose child directories are Subversion repositories. In a configuration block for a Subversion repository, either this directive or SVNPath must be present, but not both.

        Reply
    8. Hi,
      I am new to linux environment. When I tried to setup SVN using yum i am getting a below error.Could some one tel me how could I rectify it and proceed further?.

      Appreciate in advance..

      Thanks
      Beer

      Reply
    9. Adding the errors

      [[email protected] ~]# yum install mod_dav_svn subversion
      Loaded plugins: product-id, security, subscription-manager
      This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
      file:///media/cdrom/fix/rhel5-x86_64/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: ‘/media/cdrom/fix/rhel5-x86_64/repodata/repomd.xml’
      Trying other mirror.
      Error: Cannot retrieve repository metadata (repomd.xml) for repository: yum_rpmsEL5-x86_64_level32. Please verify its path and try again
      [[email protected] ~]#

      Reply
      • Hi Beer Mohamed,

        Looks like, you don’t have active RHEL subscription.

        This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

        Reply
    10. I am using Fedora 20. I followed your instruction for step 2 and the Apache & PHP installation. But I cannot find the subversion.conf file your mentioned in your step 3. The only similar is this:

      $ sudo find / -name *subversion.conf*
      /etc/httpd/conf.modules.d/10-subversion.conf

      My SVN was setup few months ago. I can access my svn via “svn://”. My web server can display your test.php correctly. I want to add “http://” access. I do did your step 2 successfully. What I should do? create the subversion.conf in that location? but how it can be used by the system?
      Thanks,

      Reply
    11. I Have following error message

      [[email protected] ~]# svn import -m ‘Initial import’ /tmp/svn-structure-template/ http://localhost/svn/testrepo/
      svn: E175002: Server sent unexpected return value (500 Internal Server Error) in response to POST request for ‘/svn/testrepo/!svn/me’

      Please help me.

      Thanks,

      Reply
    12. Very nice information i will install it into my server
      Thanks Man

      Reply
    13. im not getting the anything on the browser window…
      please help…

      Reply
      • Hi nirrr,

        Do you get totally empty browser window or some error code?

        Reply
    14. thanks a lot. It was very useful.

      Reply
1 7 8 9 10

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close