In this blog I will show you how to install and configure Subversion (svn) on Red Hat Enterprise Linux (RHEL) 6.3.
First lets install subversion and apache web server, if you already have installed a apache web server, then leave out the httpd package below.
2.1 Create a new Subversion Repository
Now lets create a new subversion repository named 'demorepo'.
It is highly recommended to have some authentication to your subversion repository. Here I will use simple login using the built in Apache Web Server module mod_auth_basic. The module is per default installed and configured with the RHEL httpd package, we only need to add new users.
2.3 Configure Apache Web Server
Finally we need to configure the apache web server, for our new web location, but also to apply our authentication. We will facilitate the pre-configured configuration file /etc/httpd/conf.d/subversion.conf that comes with the mod_dav_svn package.
Now we only need to restart our apache web server and test our demo subversion repository - http://localhost/svn/demorepo/.