Open apt configuration file
This configuration may fail if your username or password has an '@' in it. You can also add proxy configuration for other protocols such as FTP.
vim /etc/apt/apt.confand add the following:
Acquire::http::Proxy "http://username:password@proxyhostname:port";The syntax shown above should be strictly followed.
This configuration may fail if your username or password has an '@' in it. You can also add proxy configuration for other protocols such as FTP.
No comments:
Post a Comment