Creating a repo in svn

Creating a repo in svn
Author: Owen
Added: Sunday, 08 Dec, 2013
Category: SVN

Code

cd /var/www/svn
svnadmin create reponame
chown -R apache reponame
cd /var/www/html/
svn co http://serverip/svn/reponame
cd /etc/httpd/vhosts/active/
cp othersite.conf reponame.conf
/etc/init.d/httpd configtest // ensure logs exist
/etc/init.d/httpd restart

Comments