Analyze. Act. Achieve.
Kurinchilion KURINCHILION Analyze. Act. Achieve.

Articles

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/mod_dav_svn.so LoadModule authz_svn_module   modules/mod_authz_svn.so

<Location /repos> DAV svn SVNParentPath /var/www/svn <LimitExcept GET PROPFIND OPTIONS REPORT> AuthType Basic AuthName "Subversion repos" AuthUserFile /var/www/svn/htpasswd Require valid-user </LimitExcept> </Location>

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