Subversion is great, but you probably don't want it on a production webserver. Keep it on a development box in-house, or a production server separate from any with essential web services.
The svnserve daemon needs a control script and a chkconfig entry to run as a service. I found a script at http://www.fedoraforum.org/forum/archive/index.php/t-165130.html, but it doesn't work (for CentOS anyway). I modified it to a version that works. Copy it to /etc/init.d/svnserve, then create a file at /etc/sysconfig/subversion that contains:
The init script will use these options when launching the svnserve daemon. Now:
Assuming you're just setting up a fresh repository named svn under /srv, you can just import your old repository:
Set up at least some basic authentication options in /srv/svn/conf/svnserve.conf file:
And if you're setting up a new repository, you'll have to create /srv/svn/conf/passwd to go along with that conf file:
Don't forget to set the permissions on this clear-text password file:
If you've just moved the repository between servers, make sure to set your SVN clients to use the new repo!