Skip to content

Instantly share code, notes, and snippets.

@zabih-alipour
Created November 19, 2019 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zabih-alipour/e5388f7237bcf0c21040f2948442519d to your computer and use it in GitHub Desktop.
Save zabih-alipour/e5388f7237bcf0c21040f2948442519d to your computer and use it in GitHub Desktop.
Set proxy on apt in ubuntu
Create file if not exists: /etc/apt/apt.conf.d/proxy.conf
Add your proxy info into file, like:
Acquire::http::Proxy "http://user:password@proxy.server:port/";
Acquire::https::Proxy "http://user:password@proxy.server:port/";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment