Created
September 3, 2019 15:40
-
-
Save wizcas/5cebc200c8d8c083ddbde431fb481f9a to your computer and use it in GitHub Desktop.
Set proxy for APT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the apt proxy config file | |
sudo vi /etc/apt/apt.conf.d/proxy.conf | |
# Add http & https proxies into the file | |
Acquire { | |
HTTP::proxy "http://127.0.0.1:7890"; | |
HTTPS::proxy "http://127.0.0.1:7890"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment