Linux - How to configure n add svn user, Installing sub version on linux server

How to configure n add svn user

The below example shows simple configuration of svn server on linux server, most of the server has same kind of configuration or setup

Login as root and install required svn modules
 # su 

 # yum install mod_dav_svn subversion

Apache Modules tobe enabled for SVN
 LoadModule dav_svn_module     modules/mod_dav_svn.so

 LoadModule authz_svn_module   modules/mod_authz_svn.so
Above are the tow apache modules which are enabled for the configuring SVN

 # svnadmin create --fs-type fsfs /svn-projects/w3calculator.com 

 # chown -R apache:apache /svnprojects/payapp.net

 # cp /etc/httpd/conf.d/subversion.conf /etc/httpd/conf.d/subversion.conf.260809

 # vi /etc/httpd/conf.d/subversion.conf

Configuring file /etc/httpd/conf.d/subversion.conf
  <Location /svn-projects>
     DAV svn
     # any "/svn/foo" URL will map to a repository /var/lib/subversion/foo
     SVNParentPath /var/www/svn-projects
     AuthType Basic
     AuthName "Subversion repositories"
     AuthUserFile /etc/svnpassword
     Require valid-user
  </Location>

Creating httpd password
 # htpasswd  -c /etc/svnpassword/w3calculator.com  kamakshi

 # service httpd reload
                         [OR]
 # /etc/init.d/httpd restart
Quick Look:
 
 # svnadmin create --fs-type fsfs /svn-projects/w3calculator.com

 # chown -R apache:apache /svn-projects/payapp.net

 # cp /etc/httpd/conf.d/subversion.conf /etc/httpd/conf.d/subversion.conf.260809

 # vi /etc/httpd/conf.d/subversion.conf

 # htpasswd  -c /etc/svnpassword/w3calculator.com kamakshi

 # service httpd reload

The topic on Linux - How to configure n add svn user is posted by - Math

Hope you have enjoyed, Linux - How to configure n add svn userThanks for your time

Tech Bluff