Server Installation/Subversion: Unterschied zwischen den Versionen

Aus Opennet
Wechseln zu: Navigation, Suche
(Installation)
(Konfiguration)
Zeile 36: Zeile 36:
 
  # authenticated users can both read and write
 
  # authenticated users can both read and write
 
  auth-access = write
 
  auth-access = write
 +
 +
* /etc/websvn/svn_deb_conf.inc
 +
<?php
 +
// please edit /etc/websvn/config.php
 +
// or use dpkg-reconfigure websvn
 +
$config->parentPath("/var/svn");
 +
$config->setEnscriptPath("/usr/bin");
 +
$config->setSedPath("/bin");
 +
$config->useEnscript();
 +
?>
  
 
[[Kategorie:Server]]
 
[[Kategorie:Server]]

Version vom 1. Januar 2014, 18:23 Uhr

Software zum Betrieb von SVN Versionsverwaltung.

Installation

(Noch TODO)

  • Installation svnserve
  • Betrieb via xinetd /etc/xinetd.d/svn
  • Installation websvn /etc/websvn/svn_deb_conf.inc
  • Einbindung apache /etc/apache2/conf.d/websvn
  • FW Anpassung (ferm)
  • Repository Pfad /var/svn/

Konfiguration

  • /etc/xinetd.d/svn
service svn
{
       socket_type     = stream
       protocol        = tcp
       user            = svn
       wait            = no
       disable         = no
       server          = /usr/bin/svnserve
       server_args     = -i --root /var/svn --config-file /etc/subversion/svnserve.conf 
       port            = 3690
       flags 		= IPv6 
}
  • /etc/subversion/svnserve.conf
[general]
password-db = /etc/subversion/passwd
realm = opennet
# anonymous users aren't allowed
anon-access = read
# authenticated users can both read and write
auth-access = write
  • /etc/websvn/svn_deb_conf.inc
<?php
// please edit /etc/websvn/config.php
// or use dpkg-reconfigure websvn
$config->parentPath("/var/svn");
$config->setEnscriptPath("/usr/bin");
$config->setSedPath("/bin");
$config->useEnscript();
?>
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge