Changes

From SME Server
Jump to navigationJump to search
m
signal-event yum-modify
Line 20: Line 20:  
[[:SME_Server:Documentation:Developers_Manual/de|Entwicklerhandbuch Entwicklerhandbuch]].
 
[[:SME_Server:Documentation:Developers_Manual/de|Entwicklerhandbuch Entwicklerhandbuch]].
 
Nach Hinzufügen oder Ändern von Repositories in der Konfigurations-Datenbank generieren sie die Konfigurationsdatei ''/etc/yum.conf'' folgendermaßen neu:
 
Nach Hinzufügen oder Ändern von Repositories in der Konfigurations-Datenbank generieren sie die Konfigurationsdatei ''/etc/yum.conf'' folgendermaßen neu:
  /sbin/e-smith/expand-template /etc/yum.conf
+
  signal-event yum-modify
    
===Optionen für die yum_repository Datenbank===
 
===Optionen für die yum_repository Datenbank===
Line 32: Line 32:  
Sie finden eine Liste der verfügbaren 3rd-Party Yum Repositories unter [[:Category:Yum_Repository]].
 
Sie finden eine Liste der verfügbaren 3rd-Party Yum Repositories unter [[:Category:Yum_Repository]].
   −
If you use the commands below to add 3rd party yum repositories, they will be added to the yum-repositories database, but not enabled by default, so this will not affect automatic yum upgrades. It only adds options for running yum manually. They are also set up to block you from installing RPMs that exist already in SME Server 7.0.
+
Falls Sie gemäß der u.a. Befehle 3rd-Party Yum Repositories hinzufügen, sind diese nicht automatisch aktiviert, um die SME Upgrade-Funktion nicht zu gefährden. Außerdem werden bereits auf dem SME installierte RPM-Pakete geblockt und nicht erneut installiert. Gewünschte Software aus 3rd-Party Repositories ist also immer manuell zu installieren.
   −
To reflect the changes in the database you will have to regenerate the yum.conf file:
+
Damit Ihre Einstellungen gespeichert werden, muss die Konfigurationsdatei ''yum.conf'' neu generiert werden:
   −
  expand-template /etc/yum.conf
+
signal-event yum-modify
   −
{{drawBoxWarning|content=Be sure to never set the status of one of these repositories to enabled as this imposes the risk of installing newer versions SME Server core packages which might brake your server. If you want to install software from them you can enable them using the SME Server shell and the yum option --enablerepo=reponame.}}
+
{{Warning box|type=Warnung|Stellen Sie sicher, dass Sie niemals im Server-Manager ein 3rd-Party Repository aktivieren. Dadurch steigt das Risiko, dass bei einem Software-Upgrade auf eine neue SME-Version Ihr System in einen instabilen Zustand gerät. Installieren Sie Softwarepakete aus 3rd-Party Repositories immer über die SME Server Shell mit der yum Option ''--enablerepo=reponame''.}}
      −
Below are a few repositories, for which the configuration can be copied to the SME Server shell to install them on your server. The lines are long, but it it so you can cut and paste into your ssh client. Also note you shouldn't enable these repositories, they should just be used at the command line with "yum install", and not with "yum upgrade".
+
Unten sind einige Repositories aufgeführt, deren Konfiguration Sie über die SME Server Shell auf Ihren Server kopieren können. Die Zeilen der Konfiguration sind zwar lang. Sie können aber Fehler vermeiden, indem Sie einfach die Zeilen über Ihren SSH-Client auf Ihren Server kopieren.
   −
If a site has a RPM-GPG-KEY you have to install it first with a line such as.
+
Falls ein RPM-GPG-KEY Schlüssel erforderlich sein sollte, müssen Sie ihn mit einem Befehl wie folgt installieren:
 
  rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
 
  rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
    +
===Voreingestellte Yum Repositories wieder herstellen===
   −
===Restoring Default Yum Repositories===
+
Falls Sie nach Hinzufügen verschiedener Einträge in Ihrer Yum-Konfiguration Probleme haben sollten, können Sie die voreingestellte Konfiguration folgendermaßen wieder herstellen:
 
  −
If you have problems with your yum setup you may have entered dud repository values
  −
 
  −
remove the current values and restore the original setting with these commands
      
  cd /home/e-smith/db/
 
  cd /home/e-smith/db/
Line 57: Line 54:  
  /etc/e-smith/events/actions/initialize-default-databases
 
  /etc/e-smith/events/actions/initialize-default-databases
   −
Now you have a clean install, you can re-add 3rd party repos as described above <br>
+
Anschließend haben Sie wieder eine "Erst"-Installation und können darauf basieren erneut gewünschte 3-rd-Party Repositories wie oben beschrieben hinzufügen.<br>
   −
  expand-template /etc/yum.conf
+
  signal-event yum-modify
   −
and check
+
und prüfe
    
  yum update
 
  yum update
   −
==Using RPMs==
+
==Verwendung von RPM-Paketen==
Since SME Server is based on CentOS, the preferred way to install software is with yum, a lot of you might be familiar with its predecessor rpm.
+
Seit der Umstellung des SME Servers auf CentOS-Basis ist ''yum'' die bevorzugte Methode, Software zu installieren. Bisher an RPM gewöhnte Administratoren können damit anstelle des rpm-Befehls Software mit yum installieren:
To install an RPM already on your system you can also use yum to install:
      
  yum localinstall /path/to/filename.rpm
 
  yum localinstall /path/to/filename.rpm
   −
To satisfy dependencies you can enable or disable other repositories using the --enablerepo or the --disablerepo option.
+
Yum ist in der Lage, Abhängigkeiten direkt aufzulösen und fehlende RPM-Pakete aus den Reositories nachzuinstallieren. Das können Sie mit den Schaltern ''--enablerepo'' oder ''--disablerepo'' entsprechend einstellen.  
   −
Using yum will run other actions such as updating server-manager menus, that rpm -Uvh will not.
+
Außerdem ist yum in der Lage, auch andere Aktionen wie z.B. die Akualisierung der Server-Manager Menüs zu unterstützen, was rpm nicht leistet.

Navigation menu