Difference between revisions of "SME Server:Documentation:Technical Manual:Chapter3/de"

From SME Server
Jump to navigationJump to search
Line 24: Line 24:
 
In diesem Abschnitt werden die Standard-Parameter zur Definition des SME Servers beschrieben.
 
In diesem Abschnitt werden die Standard-Parameter zur Definition des SME Servers beschrieben.
  
Die folgenden Tabellen haben 3 Spalten. Spalte 1 enthält die Parameter, Spalte 2 die einstellbaren Werte und Spalte 3 den voreingestellten Wert.
+
Die folgenden Tabellen haben 3 Spalten. Spalte 1 enthält die Parameter, Spalte 2 die Variable und Spalte 3 den voreingestellten Wert.
  
 
Viele Parameter können über den Server-Manager eingestellt werden, aber einige nicht. Beispielweise ist hier der Wert DomainMaster für Samba nicht wichtig, weil er über den Server-Manager einstellbar ist. Andererseits ist der Wert RecycleBin (Papierkorb) wichtig, weil er nicht über den Server-Manager eingestellt werden kann.
 
Viele Parameter können über den Server-Manager eingestellt werden, aber einige nicht. Beispielweise ist hier der Wert DomainMaster für Samba nicht wichtig, weil er über den Server-Manager einstellbar ist. Andererseits ist der Wert RecycleBin (Papierkorb) wichtig, weil er nicht über den Server-Manager eingestellt werden kann.
Line 32: Line 32:
 
Es ist auch möglich, dass mehrere Konfigurationsdateien identische Konfigurationsschlüssel verwenden. Ein Beispiel hierfür ist der Schlüssel für ''httpd-admin''. Dieser Schlüssel enthält den Wert für ''TCPPort'', der auch in den Konfigurationsdateien ''/etc/httpd/admin-conf/httpd.conf'' und ''/etc/services'' verwendet wird..
 
Es ist auch möglich, dass mehrere Konfigurationsdateien identische Konfigurationsschlüssel verwenden. Ein Beispiel hierfür ist der Schlüssel für ''httpd-admin''. Dieser Schlüssel enthält den Wert für ''TCPPort'', der auch in den Konfigurationsdateien ''/etc/httpd/admin-conf/httpd.conf'' und ''/etc/services'' verwendet wird..
  
''' signal-event Concept '''
+
''' signal-event Konzept '''
  
Thanks for the developers work, you can simplify more the commands using the signal-event proccess.
+
Dank der Entwickler können eine ganze Reihe von Befehle über das Konzept der ''signal-event''-Prozesse vereinfacht werden.
The same example above with signal-event:
+
 
 +
Das obige Beispiel wird mit signal-event folgendermaßen vereinfacht:
  
 
  db configuration setprop php MemoryLimit 64M
 
  db configuration setprop php MemoryLimit 64M
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
  
Für detailliertere Information lesen Sie bitte [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/devguide.html#SME-INTERNALS SME Server Developer's Guide]
+
Für detailliertere Information lesen Sie bitte auch hier den [http://mirror.contribs.org/smeserver/contribs/gordonr/devguide/html/devguide.html#SME-INTERNALS SME Server Developer's Guide]
  
  
Line 46: Line 47:
  
 
==== AppleTalk (atalk) ====
 
==== AppleTalk (atalk) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop atalk variable value
 
  db configuration setprop atalk variable value
 
  signal-event workgroup-update
 
  signal-event workgroup-update
{| {{Tabelle}}
 
| colspan="2" align="left" bgcolor="#ABCDEF" | '''Hardwareanforderungen Minimalsystem'''
 
 
 
 
 
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/atalk/netatalk.conf
+
|+Betroffene Datei: /etc/atalk/netatalk.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|MaxClients
 
|MaxClients
Line 67: Line 62:
  
  
==== Console Mode ====
+
==== Konsole Modus ====
''Usage'' - Choose either login or auto DB variable.  
+
''Verwendung'' - Wählen Sie zwischen Login-Prompt und automatischer Serverkonsole.  
 
  config set ConsoleMode login
 
  config set ConsoleMode login
 
  signal-event post-upgrade
 
  signal-event post-upgrade
 
  signal-event reboot
 
  signal-event reboot
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|ConsoleMode
 
|ConsoleMode
Line 84: Line 79:
  
 
==== Clam AntiVirus (clamav) ====
 
==== Clam AntiVirus (clamav) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop clamav variable value
 
  db configuration setprop clamav variable value
 
  signal-event clamav-update
 
  signal-event clamav-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/clamav.conf
+
|+Betroffene Datei: /etc/clamav.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|ArchiveBlockEncrypted
 
|ArchiveBlockEncrypted
Line 192: Line 187:
  
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/freshclam.conf
+
|+Betroffene Datei: /etc/freshclam.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|Checks
 
|Checks
Line 220: Line 215:
  
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /var/service/clamd/env/MEMLIMIT
+
|+Betroffene Datei: /var/service/clamd/env/MEMLIMIT
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|MemLimit
 
|MemLimit
Line 232: Line 227:
  
  
==== DHCP daemon (dhcpd) ====
+
==== DHCP Dienst (dhcpd) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop dhcpd variable value
 
  db configuration setprop dhcpd variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/dhcpd.conf
+
|+Betroffene Datei: /etc/dhcpd.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|Bootp
 
|Bootp
Line 249: Line 244:
  
  
==== DNS Cache Forwarder (dnscache.forwarder) ====
+
==== DNS Cache Weiterleitung (dnscache.forwarder) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop dnscache variable value
 
  db configuration setprop dnscache variable value
 
  signal-event dns-update
 
  signal-event dns-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /var/service/dnscache.forwarder/config
+
|+Betroffene Datei: /var/service/dnscache.forwarder/config
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|CacheSize
 
|CacheSize
Line 271: Line 266:
  
 
==== FlexBackup ====
 
==== FlexBackup ====
''Usage''
+
''Verwendung''
 
  db configuration setprop flexbackup variable value
 
  db configuration setprop flexbackup variable value
 
  signal-event conf-backup
 
  signal-event conf-backup
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/flexbackup.conf
+
|+Betroffene Datei: /etc/flexbackup.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|Blocksize
 
|Blocksize
Line 308: Line 303:
  
 
==== Horde (webmail) ====
 
==== Horde (webmail) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop horde variable value
 
  db configuration setprop horde variable value
  
 
  expand-template /home/httpd/html/horde/conf.menu.aps.php
 
  expand-template /home/httpd/html/horde/conf.menu.aps.php
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /home/httpd/html/horde/conf.menu.aps.php
+
|+Betroffene Datei: /home/httpd/html/horde/conf.menu.aps.php
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|MenuArray
 
|MenuArray
Line 326: Line 321:
 
  expand-template /home/httpd/html/horde/config/conf.php
 
  expand-template /home/httpd/html/horde/config/conf.php
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /home/httpd/html/horde/config/conf.php
+
|+Betroffene Datei: /home/httpd/html/horde/config/conf.php
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|Administration
 
|Administration
Line 339: Line 334:
 
  expand-template /home/httpd/html/horde/turba/config/sources.php
 
  expand-template /home/httpd/html/horde/turba/config/sources.php
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /home/httpd/html/horde/turba/config/sources.php
+
|+Betroffene Datei: /home/httpd/html/horde/turba/config/sources.php
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|freebusy
 
|freebusy
Line 355: Line 350:
  
  
==== Apache server ibay specific (httpd-e-smith) ====
+
==== Spezielle Apache Einstellungen für ibay (httpd-e-smith) ====
''Usage''
+
''Verwendung''
 
  db accounts setprop ibayname variable value
 
  db accounts setprop ibayname variable value
 
  signal-event ibay-modify ibayname
 
  signal-event ibay-modify ibayname
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/httpd/conf/httpd.conf
+
|+Betroffene Datei: /etc/httpd/conf/httpd.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|AllowOverride
 
|AllowOverride
Line 388: Line 383:
  
  
==== Apache server-manager (httpd-admin) ====
+
==== Apache Server-Manager (httpd-admin) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop httpd-admin variable value
 
  db configuration setprop httpd-admin variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/httpd/admin-conf/httpd.conf and /etc/services
+
|+Betroffene Datei: /etc/httpd/admin-conf/httpd.conf and /etc/services
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|TCPPort
 
|TCPPort
Line 406: Line 401:
  
 
==== IMAP (imap) ====
 
==== IMAP (imap) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop imap variable value
 
  db configuration setprop imap variable value
 
  signal-event email-update
 
  signal-event email-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /var/service/imap/config
+
|+Betroffene Datei: /var/service/imap/config
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|ConcurrencyLimit
 
|ConcurrencyLimit
Line 431: Line 426:
  
 
==== IMAPS (imaps) ====
 
==== IMAPS (imaps) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop imaps variable value
 
  db configuration setprop imaps variable value
 
  signal-event email-update
 
  signal-event email-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /var/service/imaps/config
+
|+Betroffene Datei: /var/service/imaps/config
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|ConcurrencyLimit
 
|ConcurrencyLimit
Line 455: Line 450:
  
  
==== IPTables firewall (masq) ====
+
==== IPTables Firewall (masq) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop masq variable value
 
  db configuration setprop masq variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/rc.d/init.d/masq
+
|+Betroffene Datei: /etc/rc.d/init.d/masq
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|Logging
 
|Logging
Line 476: Line 471:
  
 
{{drawBoxTip|content=
 
{{drawBoxTip|content=
Special case is TCPPort and UDPPort from any DB key.
+
Spezialfälle sind TCPPort und UDPPort.
  
Any Db key named "TCPPort" or "UDPPort" affect masq file.
+
Jeder DB-Schlüssel mit der Bezeichnung "TCPPort" oder "UDPPort" wirkt sich auf die Datei ''masq'' aus.
  
Currently the following keys are included in masq:
+
Zur Zeit sind folgende Schlüssel in ''masq'' enthalten::
  
 
'''TCPPort:'''
 
'''TCPPort:'''
Line 487: Line 482:
 
}}
 
}}
  
==== SpamAssasin ====
+
==== SpamAssassin ====
''Usage''
+
''Verwendung''
 
  db configuration setprop spamassassin variable value
 
  db configuration setprop spamassassin variable value
 
  signal-event email-update
 
  signal-event email-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/mail/spamassassin/local.cf
+
|+Betroffene Datei: /etc/mail/spamassassin/local.cf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|DNSAvailable
 
|DNSAvailable
Line 541: Line 536:
  
 
==== MySQL (mysqld) ====
 
==== MySQL (mysqld) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop mysqld variable value
 
  db configuration setprop mysqld variable value
 
  expand-template /etc/my.cnf
 
  expand-template /etc/my.cnf
 
  /etc/rc.d/init.d/mysqld restart
 
  /etc/rc.d/init.d/mysqld restart
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/my.cnf
+
|+Betroffene Datei: /etc/my.cnf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|InnoDB
 
|InnoDB
Line 563: Line 558:
  
 
==== Network Time Protocol (ntpd) ====
 
==== Network Time Protocol (ntpd) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop ntpd variable value
 
  db configuration setprop ntpd variable value
 
  signal-event timeserver-update
 
  signal-event timeserver-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /var/service/ntpd/env/MEMLIMIT
+
|+Betroffene Datei: /var/service/ntpd/env/MEMLIMIT
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|MemLimit
 
|MemLimit
Line 580: Line 575:
  
 
==== Php ====
 
==== Php ====
''Usage''
+
''Verwendung''
 
  db configuration setprop php variable value
 
  db configuration setprop php variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/php.ini
+
|+Betroffene Datei: /etc/php.ini
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|MaxExecutionTime
 
|MaxExecutionTime
Line 613: Line 608:
  
 
==== Virtual Private Network (VPN) (pptpd) ====
 
==== Virtual Private Network (VPN) (pptpd) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop pptpd variable value
 
  db configuration setprop pptpd variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/ppp/options.pptpd
+
|+Betroffene Datei: /etc/ppp/options.pptpd
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|debug
 
|debug
Line 633: Line 628:
  
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/pptpd.conf
+
|+Betroffene Datei: /etc/pptpd.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|debug
 
|debug
Line 646: Line 641:
  
 
==== Pro FTP (proftpd) ====
 
==== Pro FTP (proftpd) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop ftp variable value
 
  db configuration setprop ftp variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/proftpd.conf
+
|+Betroffene Datei: /etc/proftpd.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|DisableAnonymous
 
|DisableAnonymous
Line 663: Line 658:
  
 
==== Samba (smbd) ====
 
==== Samba (smbd) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop smb variable value
 
  db configuration setprop smb variable value
 
  signal-event conf-logondrive
 
  signal-event conf-logondrive
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/smb.conf
+
|+Betroffene Datei: /etc/smb.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|RecycleBin
 
|RecycleBin
Line 724: Line 719:
  
 
==== Squid Proxy (squid) ====
 
==== Squid Proxy (squid) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop squid variable value
 
  db configuration setprop squid variable value
 
  signal-event proxy-update
 
  signal-event proxy-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/squid/squid.conf
+
|+Betroffene Datei: /etc/squid/squid.conf
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|SafePorts
 
|SafePorts
Line 744: Line 739:
  
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/squid/squid.conf and /etc/rc.d/init.d/masq
+
|+Betroffene Datei: /etc/squid/squid.conf and /etc/rc.d/init.d/masq
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|Transparent
 
|Transparent
Line 756: Line 751:
  
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/rc.d/init.d/masq
+
|+Betroffene Datei: /etc/rc.d/init.d/masq
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|TransparentPort
 
|TransparentPort
Line 769: Line 764:
  
 
==== SSH (sshd) ====
 
==== SSH (sshd) ====
''Usage''
+
''Verwendung''
 
  db configuration setprop sshd variable value
 
  db configuration setprop sshd variable value
 
  signal-event remoteaccess-update
 
  signal-event remoteaccess-update
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
 
{| style="color:brown;background-color:#ffffcc;" border="1" cellpadding="5" cellspacing="0"
|+Affected file: /etc/ssh/sshd_config
+
|+Betroffene Datei: /etc/ssh/sshd_config
 +
!Parameter
 
!Variable
 
!Variable
!Target
+
!Voreinstellung
!Default
 
 
|-
 
|-
 
|TCPPort
 
|TCPPort
Line 809: Line 804:
  
 
----
 
----
[[Category:Howto]]
 
 
 
 
  
  

Revision as of 15:27, 8 May 2007


height=48px SME Server Handbücher

Administration
Benutzer
Entwickler

height=48px Zusätzliche Dokumentation

Technikerhandbuch
Häufig gestellte Fragen
HowTo-Anleitungen

height=48px Erweiterungen
Individuelle SME Server Erweiterungen

Kapitel 3 - Konfigurations-Einstellungen

In diesem Kapitel finden Sie einige nähere Informationen zu den Einstellungen der Konfiguration des Servers. Genaueres können Sie im Entwicklerhandbuch erfahren.

db Befehle

Eine ganze Reihe von Einstellungen wird mit db Befehlen durchgeführt, die im Verzeichnis /home/e-smith/db in einer interen Konfigurations-Datenbank enthalten sind. Auf diese Art können Sie den SME Server besonders komfortabel konfigurieren, ohne direkt in Konfigurationsdateien editieren zu müssen. Nach den vorgenommenen Änderungen müssen diese Datein rekonfiguriert und der betroffene Dienst neu gestartet werden.

Beispiel: Sie möchten den Parameter "memory-limit" für php erhöhen.

Dazu geben Sie einfach an der SME Server shell folgenden Befehl ein:

db configuration setprop php MemoryLimit 64M
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart

Mit der ersten Zeile ändern Sie den gewünschten Parameter ("memory-limit" für php), die zweite Zeile rekonfiguriert die entsprechende Konfigurationsdatei und die letzte Zeile startet den betroffenen Dienst (Webserver und php-Modul) neu.

Template:Warnungsbox

Die Konfigurationsdatenbank basiert auf einem flachen Dateisystem und sollte niemals direkt editiert werden. Stattdessen benutzen Sie bitte immer db Befehle. Mehr Informationen erhalten Sie im SME Server Developer's Guide.

Oberblick über die Datenbank-Parameter

In diesem Abschnitt werden die Standard-Parameter zur Definition des SME Servers beschrieben.

Die folgenden Tabellen haben 3 Spalten. Spalte 1 enthält die Parameter, Spalte 2 die Variable und Spalte 3 den voreingestellten Wert.

Viele Parameter können über den Server-Manager eingestellt werden, aber einige nicht. Beispielweise ist hier der Wert DomainMaster für Samba nicht wichtig, weil er über den Server-Manager einstellbar ist. Andererseits ist der Wert RecycleBin (Papierkorb) wichtig, weil er nicht über den Server-Manager eingestellt werden kann.

Konfigurationsdateien verwenden Datenbankeinträge eines einzelnen Konfigurationsschlüssels oder verwenden mehrere Konfigurationsschlüssel gleichzeitig. Ein Beispiel für die Verwendung von mehreren Konfigurationsschlüsseln gleichzeitig ist die Konfigurationsdatei /etc/rc.d/init.d/masq. Hier sind viel Einträge wie squid und masq enthalten.

Es ist auch möglich, dass mehrere Konfigurationsdateien identische Konfigurationsschlüssel verwenden. Ein Beispiel hierfür ist der Schlüssel für httpd-admin. Dieser Schlüssel enthält den Wert für TCPPort, der auch in den Konfigurationsdateien /etc/httpd/admin-conf/httpd.conf und /etc/services verwendet wird..

signal-event Konzept

Dank der Entwickler können eine ganze Reihe von Befehle über das Konzept der signal-event-Prozesse vereinfacht werden.

Das obige Beispiel wird mit signal-event folgendermaßen vereinfacht:

db configuration setprop php MemoryLimit 64M
signal-event remoteaccess-update

Für detailliertere Information lesen Sie bitte auch hier den SME Server Developer's Guide



AppleTalk (atalk)

Verwendung

db configuration setprop atalk variable value
signal-event workgroup-update
Betroffene Datei: /etc/atalk/netatalk.conf
Parameter Variable Voreinstellung
MaxClients AFPD_MAX_CLIENTS 20


Konsole Modus

Verwendung - Wählen Sie zwischen Login-Prompt und automatischer Serverkonsole.

config set ConsoleMode login
signal-event post-upgrade
signal-event reboot
Parameter Variable Voreinstellung
ConsoleMode Console Setting login


Clam AntiVirus (clamav)

Verwendung

db configuration setprop clamav variable value
signal-event clamav-update
Betroffene Datei: /etc/clamav.conf
Parameter Variable Voreinstellung
ArchiveBlockEncrypted ArchiveBlockEncrypted no
ArchiveBlockMax ArchiveBlockMax no
ArchiveMaxCompressionRatio ArchiveMaxCompressionRatio 300
ArchiveMaxFiles ArchiveMaxFiles 1500
ArchiveMaxFileSize ArchiveMaxFileSize 15M
ArchiveMaxRecursion ArchiveMaxRecursion 8
Debug Debug no
DetectBrokenExecutables DetectBrokenExecutables no
IdleTimeout IdleTimeout 60
LeaveTemporaryFiles LeaveTemporaryFiles no
LogClean LogClean yes
LogTime LogTime yes
LogVerbose LogVerbose yes
MaxConnectionQueueLength MaxConnectionQueueLength 30
MaxDirectoryRecursion MaxDirectoryRecursion 20
MaxThreads MaxThreads 20
ReadTimeout ReadTimeout 300
ScanArchive ScanArchive yes
ScanHTML ScanHTML yes
ScanMail ScanMail yes
ScanOLE2 ScanOLE2 yes
ScanPE ScanPE yes
SelfCheck SelfCheck 1800
StreamMaxLength StreamMaxLength 25M


Betroffene Datei: /etc/freshclam.conf
Parameter Variable Voreinstellung
Checks Checks 24
DatabaseMirror DatabaseMirror db.local.clamav.net
DNSDatabaseInfo DNSDatabaseInfo current.cvd.clamav.net
LogVerbose LogVerbose yes
MaxAttempts MaxAttempts 6


Betroffene Datei: /var/service/clamd/env/MEMLIMIT
Parameter Variable Voreinstellung
MemLimit MEMLIMIT 80000000


DHCP Dienst (dhcpd)

Verwendung

db configuration setprop dhcpd variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/dhcpd.conf
Parameter Variable Voreinstellung
Bootp bootp deny


DNS Cache Weiterleitung (dnscache.forwarder)

Verwendung

db configuration setprop dnscache variable value
signal-event dns-update
Betroffene Datei: /var/service/dnscache.forwarder/config
Parameter Variable Voreinstellung
CacheSize CACHESIZE 1000000
DataLimit DATALIMIT 3000000


FlexBackup

Verwendung

db configuration setprop flexbackup variable value
signal-event conf-backup
Betroffene Datei: /etc/flexbackup.conf
Parameter Variable Voreinstellung
Blocksize $blksize 32
TapeBlocksize $mt_blksize 0
BufferProg $buffer buffer
BufferMegs $buffer_megs 20
erase_rewind_only $erase_rewind_only false
Type $type tar


Horde (webmail)

Verwendung

db configuration setprop horde variable value
expand-template /home/httpd/html/horde/conf.menu.aps.php
Betroffene Datei: /home/httpd/html/horde/conf.menu.aps.php
Parameter Variable Voreinstellung
MenuArray MenuArray enabled


expand-template /home/httpd/html/horde/config/conf.php
Betroffene Datei: /home/httpd/html/horde/config/conf.php
Parameter Variable Voreinstellung
Administration Administration disabled


expand-template /home/httpd/html/horde/turba/config/sources.php
Betroffene Datei: /home/httpd/html/horde/turba/config/sources.php
Parameter Variable Voreinstellung
freebusy freebusy disabled
SharedAddressBooks SharedAddressBooks disabled


Spezielle Apache Einstellungen für ibay (httpd-e-smith)

Verwendung

db accounts setprop ibayname variable value
signal-event ibay-modify ibayname
Betroffene Datei: /etc/httpd/conf/httpd.conf
Parameter Variable Voreinstellung
AllowOverride AllowOverride None
FollowSymLinks FollowSymLinks disabled
Indexes Indexes enabled
PHPRegisterGlobals register_globals disabled
PHPBaseDir open_basedir /home/e-smith/files/ibays/ibayname


Apache Server-Manager (httpd-admin)

Verwendung

db configuration setprop httpd-admin variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/httpd/admin-conf/httpd.conf and /etc/services
Parameter Variable Voreinstellung
TCPPort TCPPort 980


IMAP (imap)

Verwendung

db configuration setprop imap variable value
signal-event email-update
Betroffene Datei: /var/service/imap/config
Parameter Variable Voreinstellung
ConcurrencyLimit INSTANCES 2000
ConcurrencyLimitPerIP INSTANCES_PER_IP 12
ProcessMemoryLimit ulimitdata 128000000


IMAPS (imaps)

Verwendung

db configuration setprop imaps variable value
signal-event email-update
Betroffene Datei: /var/service/imaps/config
Parameter Variable Voreinstellung
ConcurrencyLimit INSTANCES 2000
ConcurrencyLimitPerIP INSTANCES_PER_IP 12
ProcessMemoryLimit ulimitdata 128000000


IPTables Firewall (masq)

Verwendung

db configuration setprop masq variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/rc.d/init.d/masq
Parameter Variable Voreinstellung
Logging Logging most
Stealth Stealth no


Template:DrawBoxTip

SpamAssassin

Verwendung

db configuration setprop spamassassin variable value
signal-event email-update
Betroffene Datei: /etc/mail/spamassassin/local.cf
Parameter Variable Voreinstellung
DNSAvailable dns_available yes
OkLanguages ok_languages all
OkLocales ok_locales all
ReportSafe report_safe 0
Subject rewrite_header Subject [SPAM]
SkipRBLChecks skip_rbl_checks 0
TrustedNetworks trusted_networks 127.
UseAutoWhitelist use_auto_whitelist 0
UseBayes use_bayes 0
Sensitivity required_hits medium


MySQL (mysqld)

Verwendung

db configuration setprop mysqld variable value
expand-template /etc/my.cnf
/etc/rc.d/init.d/mysqld restart
Betroffene Datei: /etc/my.cnf
Parameter Variable Voreinstellung
InnoDB InnoDB disabled
LocalNetworkingOnly LocalNetworkingOnly yes


Network Time Protocol (ntpd)

Verwendung

db configuration setprop ntpd variable value
signal-event timeserver-update
Betroffene Datei: /var/service/ntpd/env/MEMLIMIT
Parameter Variable Voreinstellung
MemLimit MEMLIMIT 12000000


Php

Verwendung

db configuration setprop php variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/php.ini
Parameter Variable Voreinstellung
MaxExecutionTime max_execution_time 30
MemoryLimit memory_limit 32M
PostMaxSize post_max_size 20M
UploadMaxFilesize upload_max_filesize 10M
AllowUrlFopen allow_url_fopen Off


Virtual Private Network (VPN) (pptpd)

Verwendung

db configuration setprop pptpd variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/ppp/options.pptpd
Parameter Variable Voreinstellung
debug debug no
Passive passive enabled


Betroffene Datei: /etc/pptpd.conf
Parameter Variable Voreinstellung
debug debug no


Pro FTP (proftpd)

Verwendung

db configuration setprop ftp variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/proftpd.conf
Parameter Variable Voreinstellung
DisableAnonymous DisableAnonymous no


Samba (smbd)

Verwendung

db configuration setprop smb variable value
signal-event conf-logondrive
Betroffene Datei: /etc/smb.conf
Parameter Variable Voreinstellung
RecycleBin recycle disabled
ShadowCopy shadow_copy disabled
DeadTime deadtime 10080
DisplayCharSet display charset ISO8859-1
DosCharSet dos charset 850
LogonDrive logon drive Z
OpLocks oplocks enabled
OsLevel os level 65
ServerString server string SME Server
SMBPorts smb ports 139
UnixCharSet unix charset UTF8
UseClientDriver use client driver yes


Squid Proxy (squid)

Verwendung

db configuration setprop squid variable value
signal-event proxy-update
Betroffene Datei: /etc/squid/squid.conf
Parameter Variable Voreinstellung
SafePorts acl Safe_ports port 80
EnforceSafePorts EnforceSafePorts no


Betroffene Datei: /etc/squid/squid.conf and /etc/rc.d/init.d/masq
Parameter Variable Voreinstellung
Transparent Transparent yes


Betroffene Datei: /etc/rc.d/init.d/masq
Parameter Variable Voreinstellung
TransparentPort TransparentPort 3128


SSH (sshd)

Verwendung

db configuration setprop sshd variable value
signal-event remoteaccess-update
Betroffene Datei: /etc/ssh/sshd_config
Parameter Variable Voreinstellung
TCPPort Port 22
Protocol Protocol 2
UsePAM UsePAM no
MaxAuthTries MaxAuthTries 2
MaxStartups MaxStartups 10:30:60
PasswordAuthentication PasswordAuthentication no
PermitRootLogin PermitRootLogin no




Mehr Information über die Konfigurations-Datenbank finden Sie unter [SME Server Developer's Guide] bzw. im Entwicklerhandbuch.

Actions und Events

Actions und Events werden verwendet, um Konfigurationsänderungen zu aktivieren. Diese Mimik wird immer auch vom Server-Manager benutzt und kann auch von Ihnen an der Serverkonsole verwendet werden, wenn Sie Änderungen durchgeführt haben, die nicht direkt durch den Server-Manager möglich sind. Um eine Konfigurationsänderung zu aktivieren, geben Sie ein:

signal-event event-name

Zum Beispiel geben Sie für einen Neustart des Servers ein:

signal-event reboot

Mehr Informationen zu Actions und Events finden Sie unter

Custom Templates

Die Konfigurationseinstellungen des SME Servers erfolgen nicht direkt in den Dateien des Verzeichnisbaums /etc, sondern mit Hilfe eines Template-Systems, das nach Konfigurationseinstellungen über Actions und Events die Dateien des /etc-Baums automatisch generiert. Wenn Sie besondere Anforderungen haben, können Sie nicht direkt eine "/etc-Datei" ändern, sondern erstellen ein eigenes Template. Dazu besitzt der SME Server ein besonderes Verzeichnis, das Verzeichnis

/etc/e-smith/custom-templates

In diesem Verzeichnis werden Ihre Änderungswünsche abgelegt und können später aktiviert aktiviert werden. Näheres auch dazu im Entwicklerhandbuch