Board index INSTALLATION Svn

How to install svn on centos 6

Postby a24uall » Fri May 10, 2013 10:23 pm

Login to server as root
yum install mod_dav_svn subversion

cp -ar /etc/httpd/conf.d/subversion.conf /etc/httpd/conf.d/subversion.conf.bak7
> /etc/httpd/conf.d/subversion.conf
vi /etc/httpd/conf.d/subversion.conf

Add the below lines to subversion.conf

Code: Select all
LoadModule dav_svn_module     modules/
LoadModule authz_svn_module   modules/

<Location /svn>
   DAV svn
   SVNParentPath /home/svnanoop/public_html
   AuthType Basic
   AuthName "Subversion repositories"
   AuthUserFile /etc/svn-auth-users
   Require valid-user

chcon -h system_u:object_r:httpd_sys_content_t /home/svnanoop/public_html/anoopsvn1/
chcon -R -h apache:object_r:httpd_sys_content_t /home/svnanoop/public_html/anoopsvn1/*

Open browser
that should ask for the username and pass
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to Svn

Who is online

Users browsing this forum: No registered users and 1 guest