Creating a repo in svn

SVN

Create and checkout a repo using svnadmin

Create a repo in svn 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