Siduction Forum

Siduction Forum => Software - Support => Topic started by: JohnDoe on 2013/04/29, 12:10:04

Title: APT hinter einem Proxy?
Post by: JohnDoe on 2013/04/29, 12:10:04
Hi@all,

in diesem WIKI-Artikel (http://wiki.siduction.de/index.php?title=Apt_hinter_einem_Proxy) wird ja beschrieben, wie man apt hinter einem Proxy nutzen kann.

wie ist das aber, wenn man für den Proxy einen User und Passwort eingeben muss?

Gruß
John
Title: APT hinter einem Proxy?
Post by: der_bud on 2013/04/29, 13:44:20
Wiki sagt zurzeit export http_proxy=http://IP:PORT
export ftp_proxy=ftp://IP:PORT
Ich glaube wenn Kennwort und Benutzername angegeben werden sollen wäre das Format export http_proxy=http://username:password@IP:PORT
export ftp_proxy=ftp://username:password@IP:PORT

Gib bitte Bescheid obs so klappt, wegen Wiki aktualisieren.
Title: APT hinter einem Proxy?
Post by: JohnDoe on 2013/04/29, 13:46:14
Danke... Werde ich mal testen.  :)
Title: APT hinter einem Proxy?
Post by: captagon on 2013/04/30, 22:40:43
Ich habe hier in der Datei /etc/environment:



export ftp_proxy=http://IP_des_Proxyservers:3128
export http_proxy=http://IP_des_Proxyservers:3128



und in der Datei /etc/apt/apt.conf


Acquire
{
Proxy "http://user:passwort@IP_des_Proxyservers:3128";
Timeout "240";
};


Das funktioniert hier schon ewig so.