Cillum deserunt labore in lorem ullamco ad voluptate sit et nostrud dolore dolor quis anim ipsum minim eu in dolor ex aliqua, amet, exercitation esse. Velit elit, deserunt labore eiusmod ad fugiat consectetur sit voluptate nisi est duis sed consequat, cupidatat nostrud mollit exercitation sint commodo adipisicing lorem dolor irure
Yeah, this will be replaced... But please enjoy the search!
This page is kind of under construction and there may be graphic glitches in some browsers and some html rendering might be a bit off. It'll get better.
There are quite a few guides and howto's out there. Some a relevant but as usual most of them are crap and made without any regards to the one who will use them. Compatibility and usability should always be ranked high when setting up such an environment.
One such thing is how to access the svn-server, there are these fancy ssh+svn://blabla which undoubtedly tightens the security by encrypting the connection in a pretty sophisticated manner. However the setup is complex and the usability disappears for "normal" users.
The way to go is by http or https, I promise :)
The compatibility with applications and platforms are unmatched, and the set up is fairly easy!
It should look somethink like this (the dav_svn.conf file that is)
# IMPORTANT!
# remove the # in front of the <location and </location
<Location /svn>
DAV svn
SVNParentPath /var/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
#SSLRequireSSL # this line must be added if you want SSL enabled
</Location>
Let's set up the Apache-server mod and create a repository
# Enable modules and restart
$ sudo a2enmod dav_svn
$ sudo /etc/init.d/apache2 restart
# Create/enable a user account for dav_svn (the -c indicates the main user)
# Replace user1 with the adminname
$ sudo htpasswd -c /etc/apache2/dav_svn.passwd user1
# Next user2, user3, user4 etc...
$ sudo htpasswd /etc/apache2/dav_svn.passwd user2
# Testing
$ sudo svnadmin create /var/svn/test
$ sudo chown -R www-data:www-data /var/svn/test
# Testing (first enter local user password, then your svn user/pass)
$ svn co http://localhost/svn/test
To connect to your svn, simply type http://yourserverurl/svn/myrepository. This can be done in either a browser or svn-application like tortoise or versions (there are quite a few).
Happy versioning!