Subversion

Configuration du module Subversion d'Apache et création d'un dépôt.
apt-get install subversion subversion-tools libapache2-svn
Vérifier l'activation des modules Apaches suivants (Sources Web).
ls /etc/apache2/mods-enabled/
dav.load
dav_svn.conf
dav_svn.load
Créer les dossiers de configuration et de données.
mkdir /var/subversion/
chown www-data:www-data /var/subversion/ -R
Créer le fichier des autorisations d'accès /var/subversion/mondepot.access (Sources Web).
[groups]
developers = user1, user2
users = user3
[/]
@developers = rw
@users = r
* =
Utiliser l'identité du serveur Apache pour créer les dépôts et lui donner les droits adéquats sur ceux-ci.
su www-data svnadmin create /var/subversion/mondepot svn mkdir -m "Initialisation du dépôt" https://svn.gissinger.net/mondepot/ https://svn.gissinger.net/mondepot//trunk https://svn.gissinger.net/mondepot//branches https://svn.gissinger.net/mondepot//tags
Exemple d'hôte virtuel Apache
<VirtualHost *:443>
ServerName svn.gissinger.net
SSLEngine On
<Location />
Order allow,deny
Deny from all
</Location>
<Location /mondepot>
DAV svn
SVNPath /var/subversion/mondepot/
AuthzSVNAccessFile /var/subversion/mondepot.access
Allow from all
</Location>
</VirtualHost>
hello…
Hi there thanks for the quality post! http://albert11.beeplog.com/ ,i had a good read.appreciate your article,My problem continues to be resolved….
Gems form the internet…
[...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……