Thursday, February 10, 2011

Configuring Apt for web proxy on Debian Linux

Set your apt configuration to use your proxy if needed
If you can only access the net via a proxy you will need to edit this file first and to do that you will need to open a terminal:
Applications -> system Tools -> terminal
sudo su -
cd /etc/apt
vim apt.conf.d/70debconf

that will edit the main debian apt configuration file, to which you should make the following addition:


Acquire {
http {
Proxy "http://foouser:barpassword@wwwcache.rdg.ac.uk:8080/";
// puoi anche giocare coi parametri della cache
No-Cache "false";
Max-Age "86400";
No-Store "false";
};
};

Posted via email from Mocha Brain Freeze

No comments: