Thursday, October 11, 2012

Proxy settings for Ubuntu, Mint and others

I established the external connetion to the web for my virtual OS twice, and every time I had to set up proxy settings. That's a reminder which will be helpful to get rid of another one search in the web with a question like "ubuntu update proxy settings" or "mint configure proxy settings".



go to the directory /etc/apt/apt.conf.d
create file with the name proxy
fill the file with the following:
Acquire::http::Proxy "http://<username>:<password>@<proxy>:8080";
Acquire::ftp::Proxy "ftp://<username>:<password>@<proxy>:8080";
Acquire::::Proxy "true";

Check if it works with apt-get update

No comments:

Post a Comment