Loading...

How to install SVN on Ubuntu 10.04 LTS

9,921 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Feb 13, 2012

To install subversion,run the following command:

sudo apt-get install subversion libapache2-svn

Create a folder where you want to put your repositories:

sudo mkdir svn

Edit the configuration file for the subversion webdav module:

sudo nano /etc/apache2/mods-enabled/dav_svn.conf

UNCOMMENTED THESE ELEMENTS:


DAV svn

SVNParentPath /svn

# Uncomment the following 4 lines to enable Basic Authentication
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /svn/auth
Require valid-user

CREATE THE SVN User:

sudo htpasswd2 -cm auth arbab

NOTE: that you should only use the -c option the FIRST time that you create a user. After that you will only want to use the -m option, which specifies MD5 encryption of the password, but doesn't recreate the file.

Let's create our first repository:

sudo svnadmin create /svn/repo

Restart Apache service:

sudo /etc/init.d/apache2 restart

Make sure you set the permissions of the /svn directory to apache with the following command:

sudo chown -R www-data:www-data /svn

Thanks
Be Happy!

  • Category

  • License

    • Standard YouTube License

Loading...

to add this to Watch Later

Add to

Loading playlists...