Install SVN in CentOS


1) Install the SVN server

yum install -y subversion mod_dav_svn

Modify /etc/httpd/conf.d/subversion.conf

mkdir /etc/svn/
htpasswd -cm /etc/svn/users jchen
htpasswd -m /etc/svn/users test

mkdir /var/www/svn
cd /var/www/svn
svnadmin create mylab
chown -R apache.apache mylab
chcon -R -t httpd_sys_content_t mylab

service httpd restart
chkconfig httpd on

2) Intall the SVN client

yum install -y subversion

Leave a comment