Install and config Subversion on Ubuntu server

Install SVN server on Ubuntu server

I am trying to install a subversion server on my Ubuntu server. Google search returned a lot of garbage. It was pretty hard to locate a good tutorial or how-to document to follow. At least I found one at ubuntu.org.

Subversion – This wiki document explains how to setup Subversion alias SVN on Ubuntu. The intended audience is experienced Linux users and system administrators.

By following this article, I successfully install subversion with the Apache2 web server. Now I can access SVN server through http protocol. Somehow the document does not give much useful information for setting https protocol. I will explore that late.

Install Subversion client on Windows machines

TortoiseSVN is a Windows Shell Extension for Subversion. It is a really easy to use Revision control / version control / source control software for Windows. Since it’s not an integration for a specific IDE you can use it with whatever development tools you like.

Password protect your SVN server directory

To protect your svn folder online, you can comment out the and and end up your configuration information looks like the following.

<Location /svn>
     DAV svn
     SVNParentPath /home/svn
     SVNListParentPath On
     AuthType Basic
     AuthName "Login to Access Subversion Repository"
     AuthUserFile /etc/subversion/passwd
#     <LimitExcept GET PROPFIND OPTIONS REPORT>
        Require valid-user
#     </LimitExcept>
</Location>
  • Share/Bookmark

Leave a Response

You must be logged in to post a comment.