03.11.2013 Aufrufe

opsi Version 3.3 - opsi Download - uib

opsi Version 3.3 - opsi Download - uib

opsi Version 3.3 - opsi Download - uib

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

7. <strong>opsi</strong>-server mit mehreren Depots<br />

7.4. Paketmanagement auf mehreren depots<br />

siehe auch Kapitel 3.4 Werkzeug <strong>opsi</strong>-package-manager: <strong>opsi</strong>-Pakete (de-) installieren<br />

Seite 28<br />

Zur Verwaltung der Pakete auf mehreren Depots kennt der <strong>opsi</strong>-packet-manager die<br />

Optionen -d bzw. --depots mit denen die Depots angegeben werden können auf denen<br />

ein Paket installiert bzw. deinstalliert werden soll. Mit dem Schlüsselwort 'ALL' kann auf<br />

alle bekannten Depots verwiesen werden. Bei einer Installation mit der Option -d wird<br />

das Paket zunächst in das Verzeichnis /var/lib/<strong>opsi</strong>/products des depot-servers<br />

hochgeladen und dann von dort aus installiert.<br />

Wird -d nicht angegeben, so wird nur das lokale Depot behandelt und das Paket ohne<br />

upload nach /var/lib/<strong>opsi</strong>/products installiert.<br />

Beispiel:<br />

Installiere das Paket softprod_1.0-5.<strong>opsi</strong> auf allen Depots:<br />

<strong>opsi</strong>-package-manager -d ALL -i softprod_1.0-5.<strong>opsi</strong><br />

Processing upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'bonifax.<strong>uib</strong>.local'<br />

Processing upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'vmix13.<strong>uib</strong>.local'<br />

Processing upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'vmix12.<strong>uib</strong>.local'<br />

Overwriting destination 'softprod_1.0-5.<strong>opsi</strong>' on depot 'bonifax.<strong>uib</strong>.local'<br />

Starting upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'bonifax.<strong>uib</strong>.local'<br />

100.00% 3 KB 0 KB/s 00:00 ETAs - softprod_1.0-5.<strong>opsi</strong> >><br />

bonifax.<strong>uib</strong>.local<br />

Upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'bonifax.<strong>uib</strong>.local' done<br />

Installing package 'softprod_1.0-5.<strong>opsi</strong>' on depot 'bonifax.<strong>uib</strong>.local'<br />

Overwriting destination 'softprod_1.0-5.<strong>opsi</strong>' on depot 'vmix13.<strong>uib</strong>.local'<br />

Starting upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'vmix13.<strong>uib</strong>.local'<br />

Overwriting destination 'softprod_1.0-5.<strong>opsi</strong>' on depot 'vmix12.<strong>uib</strong>.local'<br />

Starting upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'vmix12.<strong>uib</strong>.local'<br />

100.00% 3 KB 3 KB/s 00:00 ETAs - softprod_1.0-5.<strong>opsi</strong> >><br />

vmix13.<strong>uib</strong>.local<br />

100.00% 3 KB 3 KB/s 00:00 ETAs - softprod_1.0-5.<strong>opsi</strong> >><br />

vmix12.<strong>uib</strong>.local<br />

Upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'vmix12.<strong>uib</strong>.local' done<br />

Installing package 'softprod_1.0-5.<strong>opsi</strong>' on depot 'vmix12.<strong>uib</strong>.local'<br />

Upload of 'softprod_1.0-5.<strong>opsi</strong>' to depot 'vmix13.<strong>uib</strong>.local' done<br />

Installing package 'softprod_1.0-5.<strong>opsi</strong>' on depot 'vmix13.<strong>uib</strong>.local'<br />

Installation of package '/var/lib/<strong>opsi</strong>/products/softprod_1.0-5.<strong>opsi</strong>' on depot<br />

'bonifax.<strong>uib</strong>.local' finished<br />

Installation of package '/var/lib/<strong>opsi</strong>/products/softprod_1.0-5.<strong>opsi</strong>' on depot<br />

'vmix13.<strong>uib</strong>.local' finished<br />

Installation of package '/var/lib/<strong>opsi</strong>/products/softprod_1.0-5.<strong>opsi</strong>' on depot<br />

'vmix12.<strong>uib</strong>.local' finished<br />

In diesem Beispiel sind drei Depots bekannt (bonifax.<strong>uib</strong>.local, vmix12.<strong>uib</strong>.local,<br />

vmix13.<strong>uib</strong>.local). Zunächst wird gleichzeitig auf alle Depots das Paket kopiert (upload)<br />

104

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!