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

Re: apt-move



On Thu, Jun 15, 2000 at 09:22:51AM +0500, Sattaroff Tumyp wrote:
> On Thu, 15 Jun 2000, Michael Sobolev wrote:
> 
> > > PS. apt-get все делает правильно.
> > http_proxy, да?
> Кстати,
> а как это же настроить в apt.conf
> что то я не смог настроить через http::Proxy
например так

--- apt.conf
.....
// Options for the downloading routines
Acquire
{
  Queue-Mode "host";       // host|access
  Retries "3";
  
  // HTTP method configuration
  http 
  {
    Proxy "http://some-proxy:3128";;
    Proxy::ftp.chg.ru "DIRECT";  // Specific per-host setting
    Timeout "180";
    
    // Cache Control. Note these do not work with Squid 2.0.2
    No-Cache "false";
    Max-Age "86400";     // 1 Day age on index files
    No-Store "false";    // Prevent the cache from storing archives    
  };

  ftp
  {
//    Proxy "http://some-proxy:3128/";;
//    Proxy::ftp.chg.ru "DIRECT"; // Specific per-host setting

    /* Required script to perform proxy login. This example should work
       for tisfwtk */
//    ProxyLogin
//    {
//       "USER $(PROXY_USER)";
//       "PASS $(PROXY_PASS)";
//       "USER $(SITE_USER)@$(SITE):$(SITE_PORT)";
//       "PASS $(SITE_PASS)";
//    };
    
    Timeout "120";
    
    /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
       is prefered if possible */
    Passive "true";
    Proxy::Passive "true";
//    Passive::ftp.chg.ru "false"; // Specific per-host setting
  };
  
  cdrom
  {
    Mount "/cdrom";	
  };
};
.....


With MBR
Max



Reply to: