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

Re: Conv. from STATIC to DHCP ... proxy!



Cameron Hutchison <camh+dl@xdna.net> [2002-10-01 17:25:40 +1000]:
> > But what about apt-get?! This one I really need.
> 
> Set the environment variables: http_proxy and/or ftp_proxy.
> 
> eg.
> $ export http_proxy=http://some.proxy:8080/
> $ apt-get update

You can also put that information in /etc/apt/apt.conf:

  Acquire::http::Proxy "http://some.proxy.domain:8080/";;
  Acquire::http::Proxy::some.host.domain DIRECT;

I always do the apt.conf approach since it does not rely upon me
having logged in as any particular user to get the environment
variable set.

Bob

Attachment: pgptaG92EEhtA.pgp
Description: PGP signature


Reply to: