I’m saving this here for my ref:
This walk through covers setting up a svn server on media temples dedicated virtual servers (dv) or similarly configured centos with plesk installations.
With media temple the yum command isn’t available so we have to do it the long way
first go to http://subversion.tigris.org/project_packages.html
Download the source for both subversion and dependencies. make sure you download them both to the same directory
you can do this using wget, ex : wget file_location
ok now extract both archives – use google if you don’t know how
almost done, now lets get it installed
first cd (change directory) into the subversion folder, then run the following commands
./configure --with-apxs=/usr/sbin/apxs
make
make install
This will configure with apache support, build and install. now all thats left is setting up apache and a domain, but before we get to it, check your httpd.conf file and make sure you see the following modules being loaded :
mod_dav_svn mod_authz_svn
I prefer to use a subdomain and recommend it, ex: trac.domain = trac frontend, svn.domain=regular svn access. It’s up to you. the steps for setting up a subdomain and domain are pretty much the same, so i’ll only cover subdomains.
Login to plesk, select the domain you plan on using. go to subdomains > add new
ok here we want to setup a new subdomain. remember to give this subdomain a different ftp account that the main site.
save this domain, check that it’s up and running , and exit plesk.
almost done 
login to your servers file system go to /var/www/vhosts/your_domain/subdomains/your_subdomain/
now we need to setup a svn repo.
first make a new directory for our repo , I recommend making it your subdomains dir, ex
mkdir /var/www/vhosts/your_domain/subdomains/your_subdomain/svn/repo;
chmod 0777 /var/www/vhosts/your_domain/subdomains/your_subdomain/svn/repo;
svnadmin create /var/www/vhosts/your_domain/subdomains/your_subdomain/svn/repo;
next cd into your conf directory at /var/www/vhosts/your_domain/subdomains/your_subdomain/conf
vi vhost.conf
and enter :
#svn.server.com — vhost.conf file
<location />
DAV svn
SVNPath /var/www/vhosts/your_domain/subdomains/your_subdomain/svnrepo
AuthType Basic
AuthName “Subversion Repository”
AuthUserFile /etc/svn-auth-file
Require valid-user
</location>
ok promise it’s almost over
We need to add a user for access via the apache svn frontend
htpasswd -c /etc/svn-auth-file your_user
now run
/usr/local/psa/admin/sbin/websrvmng -a -v
That restarts apache to load all of our changes.
now go to your_subdomain.your_domain and login – svn is running
Things to keep in mind, I’m only covering media temple dv, and similar centos with plesk configurations. I’m not covering security, i’ve not covering trac, getting your repo setup, etc. So this is a vanilla install. – use google and make it more.
Articles I used :
http://alexle.net/archives/138