Re: How to set up apt-get to use connect through a proxy
On Thu, Apr 04, 2002 at 11:24:06AM +0200, Mark Janssen wrote:
> On Thu, 2002-04-04 at 11:17, James D. wrote:
> > Hi,
> > I've just succeeded installing woody on my new Dell Inspiron 4100
> > laptop (it took me 4 days!!! because i've just switched to debian).
> > I often bring my laptop to work in the library, but i don't know how
> > to make debian connect to the Internet through a proxy (although i
> > have username and password for the proxy). Any suggestion would be
> > appreciated,
>
> Easy.... (it's the same as with lynx, wget, curl etc)
>
> Just set the ftp_proxy and/or http_proxy environment variables:
>
> export http_proxy=http://your.proxy.host:port/
> export ftp_proxy=$http_proxy
That trailing slash is very important. Took me a day to figure that out.
--
Danie Roux *shuffle* Adore Unix
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: