D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Using apt through a proxy?

 

Grant Sewell wrote:

Thanks!  I've not read that howto yet, but from the title... I can
already browse the web by setting the proxy information in the
browser itself.  It works fine, it's just using apt (and other
command-line based tools).

In that case the http_proxy variable will sort most applications.

export http_proxy=http://proxy.example.com:3128


Apt will usually store proxy settings in /etc/apt/apt.conf, it stores those used during installation in there by default.

Not sure of hand the support ways to alter apt.conf (apt-config isn't friendly enough), but vi works ;)

cat /etc/apt/apt.conf
Acquire::http::Proxy "http://proxy.example.com:3128";;

The document was for those cases where only IEs authentication method is permitted.

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html