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/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

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


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
http://svn.anoopjohn.me/svn/anoopsvn1/
that should ask for the username and pass
Arun
WebhostingDevelopment.com
a24uall
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


cron