admin/ October 31, 2016/ Linux/ 9 comments



Install Subversion Server on Ubuntu Machine.

Why Subversion ?
Apache Subversion is a full-featured version control system originally designed to be a better CVS. Subversion has since expanded beyond its original goal of replacing CVS, but its basic model, design, and interface remain heavily influenced by that goal. Even today, Subversion should still feel very familiar to CVS users.

There are few steps below-:

Step 1-:
Install required packages.

Step 2-:

Download websvn zip or tar.gz from http://www.websvn.info/download/.

Check Websvn on http://localhost/websvn or http://domain or ip/websvn/

Step 3-:

Create the Subversion Environment.

Add User admin for repository authentication.

Step 4-:

Open the dav_svn.conf file.

Add the below content bottom of the file.

Copy config.php in the include directory

add the below line for the websvn at /var/www/html/websvn/include/config.php.

Step 5-:

Test the Subversion Server.
Checkout the FirstRepo

Output-:

Additional Part of this Article.

If you want to create SVN Repository using script. Create a file like create_svn.sh

Copy all the below content into this file.

Save the file.

Run the script.

or

Gotechnies Websvn Blog

2016-05-20
Rating: 5.0
Votes: 400
Reviews: 330



9 Comments

  1. This guide doesn’t work.

    For example, this file doesn’t exists: /etc/websvn/svn_deb_conf.inc

    1. Hi Peeter,

      Have you installed
      1. libapache2-svn
      $ sudo apt-get install libapache2-svn
      Enable dav_svn module of apache.
      2. $ sudo a2enmod dav_svn

      After that you will fine /etc/websvn/svn_deb_conf.inc.

      Thanks for the reply

      1. Hi ADMIN,

        I too have encountered this problem.

        The steps have been followed exactly (and rechecked), but the /etc/websvn/ directory isn’t being created.

        Is there anything else to check?

        Regards

        Antony

        1. Hi Antony,

          I am sorry. I have update the blog post again. Please check it.

          You can edit file using below command-:

          $ sudo nano /var/www/html/websvn/svn_deb_conf.inc

      2. I’m getting Unable to locate package libapache2-svn error. What else is needed?

          1. Hello

            Thanks for the reply, but that didn’t help. I’m getting:

            Ign:13 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main all Contents (deb)
            Ign:14 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main i386 Contents (deb)
            Ign:15 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful i386 Contents (deb)
            Ign:16 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful all Contents (deb)
            Ign:17 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main all Packages
            Ign:18 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main i386 Packages
            Ign:19 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main Translation-en
            Ign:20 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main Translation-en_US
            Ign:21 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main i386 Contents (deb)
            Ign:22 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main all Contents (deb)
            Ign:23 http://ppa.launchpad.net/svn/ppa/ubuntu artful i386 Contents (deb)
            Ign:24 http://ppa.launchpad.net/svn/ppa/ubuntu artful all Contents (deb)
            Ign:9 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main all Packages
            Ign:10 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main i386 Packages
            Ign:11 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main Translation-en
            Ign:12 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main Translation-en_US
            Ign:13 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main all Contents (deb)
            Ign:14 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main i386 Contents (deb)
            Ign:15 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful i386 Contents (deb)
            Ign:16 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful all Contents (deb)
            Ign:17 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main all Packages
            Ign:18 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main i386 Packages
            Ign:19 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main Translation-en
            Ign:20 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main Translation-en_US
            Ign:21 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main i386 Contents (deb)
            Ign:22 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main all Contents (deb)
            Ign:23 http://ppa.launchpad.net/svn/ppa/ubuntu artful i386 Contents (deb)
            Ign:24 http://ppa.launchpad.net/svn/ppa/ubuntu artful all Contents (deb)
            Ign:9 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main all Packages
            Err:10 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main i386 Packages
            404 Not Found
            Ign:11 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main Translation-en
            Ign:12 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main Translation-en_US
            Ign:13 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main all Contents (deb)
            Ign:14 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful/main i386 Contents (deb)
            Ign:15 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful i386 Contents (deb)
            Ign:16 http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful all Contents (deb)
            Ign:17 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main all Packages
            Err:18 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main i386 Packages
            404 Not Found
            Ign:19 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main Translation-en
            Ign:20 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main Translation-en_US
            Ign:21 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main i386 Contents (deb)
            Ign:22 http://ppa.launchpad.net/svn/ppa/ubuntu artful/main all Contents (deb)
            Ign:23 http://ppa.launchpad.net/svn/ppa/ubuntu artful i386 Contents (deb)
            Ign:24 http://ppa.launchpad.net/svn/ppa/ubuntu artful all Contents (deb)
            Reading package lists… Done
            W: The repository ‘http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu artful Release’ does not have a Release file.
            N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
            N: See apt-secure(8) manpage for repository creation and user configuration details.
            W: The repository ‘http://ppa.launchpad.net/svn/ppa/ubuntu artful Release’ does not have a Release file.
            N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
            N: See apt-secure(8) manpage for repository creation and user configuration details.
            E: Failed to fetch http://ppa.launchpad.net/dominik-stadler/subversion-1.7/ubuntu/dists/artful/main/binary-i386/Packages 404 Not Found
            E: Failed to fetch http://ppa.launchpad.net/svn/ppa/ubuntu/dists/artful/main/binary-i386/Packages 404 Not Found
            E: Some index files failed to download. They have been ignored, or old ones used instead.

  2. Pingback: alhambra collana oro rosa imitazione

Leave a Reply

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