- Install packages using yum
yum install subversion mod_dav_svn
- Configure
/etc/httpd/conf.d/subversion.conf
as you wish.
LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so
DAV svn SVNParentPath /var/www/svn AuthType Basic AuthName "Subversion repos" AuthUserFile /var/www/svn/htpasswd Require valid-user - Prepare the repository.
mkdir /var/www/svn cd /var/www/svn svnadmin create myrepo chown -R apache.apache myrepo
- Now we are ready to restart
httpd
.
service httpd restart
Friday, April 29, 2011
Install Subversion in Cent OS
Subscribe to:
Posts (Atom)