Subversion 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
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthName “Subversion repos”
Create the necessary repository directory.
svnadmin create myrepo
chown -R apache.apache myrepo
Start httpd service in order for the changes to be effective.
/sbin/service httpd start