Archiv verlassen und diese Seite im Standarddesign anzeigen : apt via proxy - wie geht das?
hallo leute,
ich habe mal wieder ein kleines prob.
zu hause habe ih mein sys mit apt mittlerweile updaten können, das möchte ich hier in der firma auch machen, aber ich (mein rechner) sitze hier hinter einer firewall und muß einen proxy benutzen.
wie kann ich da apt ausführen?
thx soc.
Columbo0815
27.06.03, 11:15
Hi,
in "man apt.conf" steht folgendes:
http HTTP URIs; http::Proxy is the default http proxy to
use. It is in the standard form of
http://[[user][:pass]@]host[:port]/. Per host prox_
ies can also be specified by using the form
http::Proxy::<host> with the special keyword DIRECT
meaning to use no proxies. The http_proxy environ_
ment variable will override all settings.
Wenn ich das richtig verstehe, ist es das was du suchst, oder?
Gruß Columbo
ja, das habe ich auch gelesen, aber was muß ich denn jetzt eingeben (bin noch neu).
apt-get update und dann den proxy??
oder kann ich das wo anders einstellen?
thx soc.
habe es hinbekommen :D - thx @all jetz habe ich aber auch ne menge dazugelernt!!!
dafür kann ich euch auch nur danken!!
thx soc.
in /etc/apt/apt.conf.d/ die datei custom erstellen mit folgendem inhallllt:
Acquire::http::Proxy "http://proxy:port";
für ftp das gleiche nur statt http ftp
probier das mal sonst noch in der konsole
export http_proxy="proxy:port"
lg smooth
ps: sorrrry hab probeme mit der tastatur :)
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.