24 June 2010

Installing Subversion on Ubuntu server

Installing Subversion on Ubuntu server

$sudo apt-get install subversion libapache2-svn

Creating the repository:

$svnadmin create /path/to/repo

You will also need to uncomment the settings in /etc/apache2/mods-available/dav_svn.conf


# Uncomment this to enable the repository,
DAV svn

# Set this to the path to your repository
SVNParentPath /var/lib/svn


Creating the user auth file:

$cd /ets/apache2
$sudo touch dav_svn.conf

$htpasswd /etc/apache2/dav_svn.conf user1
Enter new passwd
Reenter passwd

And test using the svn client.
svn URL - svn://ipaddress/path/to/repo

Keywords: Subversion, svn installing on ubuntu.