Apt-proxy: Unterschied zwischen den Versionen
Aus Doku-Wiki
Zur Navigation springenZur Suche springenUli (Diskussion | Beiträge) |
Uli (Diskussion | Beiträge) |
||
Zeile 25: | Zeile 25: | ||
;; Backend servers | ;; Backend servers | ||
− | ;; | + | ;; |
− | ;; Place each server in its own [section] | + | ;; Place each server in its own [section] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [debian] | ||
+ | ;; The main Debian archive | ||
+ | ;; You can override the default timeout like this: | ||
+ | ;timeout = 30 | ||
+ | ;; | ||
+ | ;; Rsync server used to rsync the Packages file (NOT YET IMPLEMENTED) | ||
+ | ;;rsyncpackages = rsync://ftp.de.debian.org/debian | ||
+ | ;; | ||
;; Backend servers, in order of preference | ;; Backend servers, in order of preference | ||
backends = | backends = | ||
Zeile 42: | Zeile 42: | ||
http://ftp.us.debian.org/debian | http://ftp.us.debian.org/debian | ||
ftp://ftp.uk.debian.org/debian | ftp://ftp.uk.debian.org/debian | ||
− | + | ;; | |
− | |||
[debian-non-US] | [debian-non-US] | ||
;; Debian debian-non-US archive | ;; Debian debian-non-US archive | ||
Zeile 51: | Zeile 50: | ||
http://ftp.uk.debian.org/debian-non-US | http://ftp.uk.debian.org/debian-non-US | ||
ftp://ftp.uk.debian.org/debian | ftp://ftp.uk.debian.org/debian | ||
− | + | ;; | |
[security] | [security] | ||
;; Debian security archive | ;; Debian security archive |
Version vom 26. Mai 2006, 09:38 Uhr
Inhaltsverzeichnis
APT-Proxy
Der APT-Proxy kann man mit einem normalen Proxy vergleichen.
Er verwaltet jedoch die Debian-Pakete effektiver. Die Einrichtung ist
recht einfach.
Voraussetzung
Diese Dokumentation bezieht sich auf:
Debian Sarge
Installation
# apt-get update # apt-get install apt-proxy
Konfiguration
Es sind nur wenige Einstelllungen an zu passen, um einen
Apt-Proxy einzurichten. Hier nur die wichtigsten. Ansonsten ist
es empfehlenswert, die Konfigurationsdatei durchzusehen.
[DEFAULT] ;;Server-IP des Apt-Proxys address = 172.27.1.11 ;; Server port port = 9999 ;; Backend servers ;; ;; Place each server in its own [section]
[debian] ;; The main Debian archive ;; You can override the default timeout like this: ;timeout = 30 ;; ;; Rsync server used to rsync the Packages file (NOT YET IMPLEMENTED) ;;rsyncpackages = rsync://ftp.de.debian.org/debian ;; ;; Backend servers, in order of preference backends = http://ftp.de.debian.org/debian http://ftp2.de.debian.org/debian http://ftp.us.debian.org/debian ftp://ftp.uk.debian.org/debian ;; [debian-non-US] ;; Debian debian-non-US archive ;timeout will be the global value backends = http://ftp.de.debian.org/debian-non-US http://ftp.uk.debian.org/debian-non-US ftp://ftp.uk.debian.org/debian ;; [security] ;; Debian security archive backends = http://security.debian.org/debian-security http://ftp2.de.debian.org/debian-security