[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

AW: apt-get über proxy: Konfiguartion?



	Daniel Kleine-Albers [SMTP:dka@erzabtei.de] schrieb:
	>Hallo,
	>
	>in usr/share/doc/apt/ gibt es ein Konfigurationsfile, das alle 
	>Einstellungen enthält, die in der apt.conf möglich sind.
	>
	>Ich glaube es war:
	>Acquire::HTTP::Proxy "http://yourproxy:port";;

	Ja, das ist richtig.
	Ich nutze apt-get via proxy.
	so könnte ne /etc/apt/apt.conf.d/70debconf aussehen:


	Acquire
	{
	  // HTTP method configuration
	  http
	  {
	    Proxy "http://123.45.67.89:80";;
	    Timeout "120";
	  };

	  // FTP method configuration
	  ftp
	  {
	    Proxy "ftp://123.45.67.89:21";;
	    ProxyLogin
	    {
	      "USER $(PROXY_USER)";
	      "PASS $(PROXY_PASS)";
	      "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
	      "PASS $(SITE_PASS)";
	    };
	    Timeout "120";
	    Passive "true";
	  };
	};



Reply to: