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

Re: Apt & Firewall variable



-----BEGIN PGP SIGNED MESSAGE-----

on Thu, 02 Sep 1999, Jon Hughes wrote:
> I'm reading a Debian Installation & Guide to use book and it states that I
> can put in a variable to let apt know that you have a firewall/proxy between
> you and the outside world.
>
> The variable (# export http_proxy=http://gateway:1234/) is to be typed into
> the  command line...but is there a file where I can put that into so I don't
> have to type it whenever I want to apt-get something?
>
> Jon
>
>
> "God, Root. What is the difference?"
>  Pitr, User Friendly
>
>
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

hiho,

write the proxy statement in your .bashrc, .bash_profile or /etc/profile.
but you can also set this variable in /etc/apt/apt.conf (on newer (>3.x)
versions, i think ).

ciao -ap
___________________________________________________________________

 Andreas Piesk   a.piesk@gmx.net
 IT Manager BFW GmbH Leipzig
 pgp fingerprint: 23CB A7E2 2E53 373C  DBCD 8EFC 7777 61C1
___________________________________________________________________

What goes up, must come down. Ask any system administrator.
___________________________________________________________________


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: zkPIw97tWH0gHOd7keoGif78v+tvLicN

iQEVAwUBN8/jiGFk4I9f3qPhAQE3WQgAkuFjCMqwvkQLddi8MMtIq9nC2VV3wNsj
Pa2OAPki4NoWn3hl49mCf2Kzv1iVWrOvqRQzNaDjBiZWQsqtXA+IcHp3FjYQzmB4
D+/rfN8Az8hIPdK97JQQl36WHFjipS0hiuybrxzlO7zLquoSBe2UlAJEItzZNgy7
DZD+oboIrZSbKri+j22S7mZOpqVR118cVM3vkJd3UIZA2uxbiHkzAx+83YJhs3SD
TTcdZuIVNs5k0UGBgLFuA4wusjm8NJxJeE6Zj/ksWjN6xrUFRX3rdhrtRSjDKxb8
gk37DnyN0acq3NqJaSVcF5u8w90fzQiC1yBDgrZ//5vgSEv2kimGBg==
=42A8
-----END PGP SIGNATURE-----


Reply to: