viper25

Add proxy to apt for Linux

Feb 6th, 2018
643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. Create a file /etc/apt/apt.conf and add the following lines if you cannot do apt update etc
  2.  
  3. Acquire::http::proxy "http://proxy-server:port";
  4. Acquire::https::proxy "https://proxy-server:port";
Advertisement
Add Comment
Please, Sign In to add comment