Creating an SVN repo using svnadmin on a Linux server

Create and checkout a repo using svnadmin.

Code

cd /var/www/svn
svnadmin create reponame
chown -R apache reponame
cd /var/www/html/
svn co http://serverip/svn/reponame

// optional centos apache setup
cd /etc/httpd/vhosts/active/
cp othersite.conf reponame.conf
/etc/init.d/httpd configtest // ensure logs exist
/etc/init.d/httpd restart