Difference between revisions of "Svn"
From A-Eskwiki
(→Nieuwe repo toevoegen) |
(→Nieuwe repo toevoegen) |
||
Line 13: | Line 13: | ||
<Location /repos> | <Location /repos> | ||
− | |||
− | |||
Options Indexes FollowSymLinks Includes ExecCGI | Options Indexes FollowSymLinks Includes ExecCGI | ||
AllowOverride All | AllowOverride All |
Revision as of 17:11, 11 April 2013
Op de vm-gitsvn staan alle svn-repos zoals bijv de Sysop-svn.
Nieuwe repo toevoegen
Zorg er eerst voor dat je svn-server met kerberos-credentials kan gebruiken. In de ipaserver maak de service HTTP/"svnserver" aan. Voer dan op de svnserver het volgende uit:
ipa-getkeytab -s <ipa-server> -p HTTP/<svnserver> -k /etc/httpd/krb5.keytab
Om een repo toe te voegen voeg je aan het bestand /etc/httpd/conf.d/subversion.conf het volgende toe:
Alias /*repodir* /var/www/svn/*repodir* <Location /repos> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All AuthType Kerberos AuthName "Kerberos Login" KrbMethodNegotiate On KrbMethodK5Passwd On KrbAuthRealms AESKWADRAAT Krb5KeyTab /etc/httpd/krb5.keytab Require valid-user </Location>
Nu voeg je een nieuwe dir aan voor je repo:
cd /var/www/svn svnadmin create *repodir* chown -R apache.apache *repodir*
Voila! Alles is klaar!