Penguin's technical blog

Wednesday, June 06, 2018

apt-get with proxy

sudo vim /etc/apt/apt.conf

Add the following lines:

Acquire::http::Proxy "http://user:pass@server:port";
Acquire::https::Proxy "http://user:pass@server:port";

Reference
https://askubuntu.com/questions/257290/configue-proxy-for-apt
Posted by Penguin at 11:44 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2020 (1)
    • ►  January (1)
  • ►  2019 (2)
    • ►  July (1)
    • ►  May (1)
  • ▼  2018 (12)
    • ►  September (3)
    • ▼  June (6)
      • Stream DeepLens video over SSH
      • vim go plugin install
      • git: ignore SSL certificate, set/unset http proxy
      • apt-get with proxy
      • tmux enable mouse mode
      • Install LXDE on Ubuntu 14.04
    • ►  May (3)
  • ►  2013 (5)
    • ►  May (2)
    • ►  April (2)
    • ►  March (1)
  • ►  2011 (1)
    • ►  August (1)
  • ►  2006 (5)
    • ►  March (5)
  • ►  2005 (7)
    • ►  May (1)
    • ►  April (6)

About Me

Penguin
View my complete profile
Simple theme. Powered by Blogger.