1. Install packages using yum
yum install subversion mod_dav_svn
2. Configure /etc/httpd/conf.d/subversion.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
DAV svn
SVNParentPath /var/www/svn
AuthType Basic
AuthName "Subversion repos"
AuthUserFile /var/www/svn/htpasswd
Require valid-user
3. Prepare the repository
mkdir /var/www/svn
cd /var/www/svn
svnadmin create your_src
chown -R apache.apache your_src
4. Restart httpd
And then we are able to import codes right now.