Acquire::http::Proxy "http://user:pass@AddProxy:PortProxy";
Acquire::https::Proxy "https://user:pass@AddProxy:PortProxy";
atau
Environment variables
edit the file
/etc/environment
And then add the following lines after PATH="something here"
- http_proxy=http://username:password@host:port/
- ftp_proxy=ftp://username:password@host:port/
- https_proxy=https://username:password@host:port/