Reading Notes for Qian Xin

Culture, Economics, Political... after reading something on internet, i will try to write down some notes. this is the place for me to record these notes.

Thursday, October 02, 2008

Modifying APT: logging and proxy server usage

Modifying APT: logging and proxy server usage: "Downloading Debian Packages through a Proxy
Anothing example of using the apt configuration files is to instruct apt-get to download packages via a proxy server.

Simply place the following into a file such as /etc/apt/apt.conf.d/proxy:

Acquire::http::Proxy 'http://proxy:8080';"

===============

- From man apt.conf: 

       http HTTP URIs; http::Proxy is the default http proxy to use. It is 
              in the standard form of http://[[user][:pass]@]host[:port]/. Per 
              host proxies can also be specified by using the form 
              http::Proxy:: with the special keyword DIRECT meaning to 
              use no proxies. The http_proxy environment variable will over- 
              ride all settings. 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home