Subversion installation steps – Part 1 (Client installation)

subversionSubversion is a version control system software that is used for effective and efficient quality management of projects consisting of any number of files. It is a substantial alternative to CVS repository and has gained popularity in very short time. Subversion is used in many companies ranging from small/medium scale companies to large scale enterprises because of its ease of use compared to other available products in the market.

Below steps describe the installation of subversion client on CentOS / RedHat / Fedora.

Step 1: As we will be modifying certain files inside httpd, we can stop the server.

/sbin/service httpd stop

Step 2: Subversion is available as a yum installation package and it significantly reduces the time for CentOS / RedHat users.
yum install subversion mod_dav_svn

Step 3: Open the file /etc/httpd/conf.d/subversion.conf which will have the following set of lines commented. You can enable the lines which you need.

LoadModule dav_svn_module     modules/
LoadModule authz_svn_module   modules/

<Location /repos>
DAV svn
SVNParentPath /var/www/svn
AuthType Basic
AuthName “Subversion repos”
AuthUserFile /var/www/svn/htpasswd
Require valid-user

Step 4:
Create the necessary repository directory.

mkdir /var/www/svn
cd /var/www/svn
svnadmin create myrepo
chown -R apache.apache myrepo

Step 5:
Start httpd service in order for the changes to be effective.
/sbin/service httpd start


Written by kurinchiblogger


Leave a Reply

Your email address will not be published. Required fields are marked *