Monday, October 24, 2011

update using CLI with proxy

1-edit /etc/apt/apt.conf with sudo
2- add this
Acquire::http::proxy "http://user:password@ipAddress:port/";
Acquire::https::proxy "https://user:password@ipAddress:port/";
Acquire::ftp::proxy "ftp://user:password@ipAddress:port/";
Acquire::socks::proxy "socks://user:password@ipAddress:port/";

No comments:

Post a Comment