e-Zest members share technology ideas to foster digital transformation.

Installation of SVN

Written by Priya Benade | Mar 2, 2017 6:37:53 AM

Subversion is software which help developers to work together and to maintain complete work history. Developers can modify, add and delete files/folders from subversion. Developers can commit changes to repository which will create new revisions in repository reflecting modified changes.

SVN installation steps on Amazon Linux

Install Apache: yum install httpd

Start the Apache service:

Start the service at system boot time

Install subversion and its dependencies

Go to file subversion.conf file and make necessary configurations

<location /svn>
DAV svn
# SVN path
SVNParentPath /var/www/svn
AuthType Basic
AuthName "Authorization Realm"
#password file path
AuthUserFile /var/www/svn/passwordfile
Require valid-user
</location>
Go to path /var/www/html and create repo
Add the svn user in the file /var/www/svn/passwordfile

Save and quit this file with wq!

Create repository and add svn user as below:

Change the ownership of repository:
Chown –R apache:apache repos

Access the repository as: