Apt-proxy: Unterschied zwischen den Versionen
Aus Doku-Wiki
Zur Navigation springenZur Suche springenUli (Diskussion | Beiträge) |
Uli (Diskussion | Beiträge) |
||
Zeile 12: | Zeile 12: | ||
# apt-get update | # apt-get update | ||
# apt-get install apt-proxy | # apt-get install apt-proxy | ||
+ | |||
+ | ===Konfiguration=== | ||
+ | [DEFAULT] | ||
+ | ;; All times are in seconds, but you can add a suffix | ||
+ | ;; for minutes(m), hours(h) or days(d) | ||
+ | |||
+ | ;; Server IP to listen on | ||
+ | address = 172.27.1.11 | ||
+ | |||
+ | ;; Server port to listen on | ||
+ | port = 9999 | ||
+ | |||
+ | ;; Control files (Packages/Sources/Contents) refresh rate | ||
+ | ;; | ||
+ | ;; Minimum time between attempts to refresh a file | ||
+ | min_refresh_delay = 1h | ||
+ | |||
+ | ;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED) | ||
+ | ;min_age = 23h | ||
+ | |||
+ | ;; Uncomment to make apt-proxy continue downloading even if all | ||
+ | ;; clients disconnect. This is probably not a good idea on a | ||
+ | ;; dial up line. | ||
+ | ;; complete_clientless_downloads = 1 | ||
+ | |||
+ | ;; Debugging settings. | ||
+ | ;; for all debug information use this: | ||
+ | ;; debug = all:9 | ||
+ | debug = all:4 db:0 | ||
+ | |||
+ | ;; Debugging remote python console | ||
+ | ;; Do not enable in an untrusted environment | ||
+ | ;telnet_port = 9998 | ||
+ | ;telnet_user = apt-proxy | ||
+ | ;telnet_password = secret | ||
+ | |||
+ | ;; Network timeout when retrieving from backend servers | ||
+ | timeout = 15 | ||
+ | |||
+ | ;; Cache directory for apt-proxy | ||
+ | cache_dir = /var/cache/apt-proxy | ||
+ | |||
+ | ;; Use passive FTP? (default=on) | ||
+ | ;passive_ftp = on | ||
+ | |||
+ | ;; Use HTTP proxy? | ||
+ | ;http_proxy = host:port | ||
+ | |||
+ | ;; Enable HTTP pipelining within apt-proxy (for test purposes) | ||
+ | ;disable_pipelining=0 | ||
+ | |||
Version vom 26. Mai 2006, 09:25 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
[DEFAULT]
- All times are in seconds, but you can add a suffix
- for minutes(m), hours(h) or days(d)
- Server IP to listen on
address = 172.27.1.11
- Server port to listen on
port = 9999
- Control files (Packages/Sources/Contents) refresh rate
- Minimum time between attempts to refresh a file
min_refresh_delay = 1h
- Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
- min_age = 23h
- Uncomment to make apt-proxy continue downloading even if all
- clients disconnect. This is probably not a good idea on a
- dial up line.
- complete_clientless_downloads = 1
- Debugging settings.
- for all debug information use this
- debug = all
- 9
debug = all:4 db:0
- Debugging remote python console
- Do not enable in an untrusted environment
- telnet_port = 9998
- telnet_user = apt-proxy
- telnet_password = secret
- Network timeout when retrieving from backend servers
timeout = 15
- Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy
- Use passive FTP? (default=on)
- passive_ftp = on
- Use HTTP proxy?
- http_proxy = host
- port
- Enable HTTP pipelining within apt-proxy (for test purposes)
- disable_pipelining=0