Jul 17
SVN admin
Installation of a Subversion repository, with apache configuration:
Link: svnbook.red-bean.com
$ svnadmin create /path/to/repos $ mkdir trunk branches tags
$svn import /home/moi/monprojet file:///path/to/repos
// for print out
$svn list --verbose file:///home/svn/monprojet
$ ### First time: use -c to create the file
$ ### Use -m to use MD5 encryption of the password, which is more secure
$ htpasswd -cm /etc/svn-auth-file harry New password: ***** Re-type new password: ***** Adding password for user harry $ htpasswd -m /etc/svn-auth-file sally New password: ******* Re-type new password: ******* Adding password for user sally $
httpd.conf
LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule dav_svn_module modules/mod_dav_svn.so <Directory /home/job/Devel/svn_root> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory> <Location /svn> DAV svn SVNParentPath /home/job/Devel/svn_root AuthType Basic AuthName "Subversion repository" AuthUserFile /home/job/Devel/svn_root/svn.htpasswd Require valid-user </Location>
