Created
March 27, 2021 01:01
-
-
Save thiago-vieira/b5c7f423a6a2bb1760d24cd9f8eeba15 to your computer and use it in GitHub Desktop.
Linux - Configurando proxy do ambiente
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
export http_proxy=http://user:password@proxy:port/ | |
export https_proxy=http://user:password@proxy:port/ | |
export ftp_proxy=http://user:password@proxy:port/ | |
export no_proxy=localhost | |
Se o apt-get não funcionar, adicionar as linhas abaixo no arquivo /etc/apt/apt.conf | |
Acquire::http::proxy "http://user:password@proxy:port/"; | |
Acquire::https::proxy "http://user:password@proxy:port/"; | |
Acquire::ftp::proxy "http://user:password@proxy:port/"; | |
Acquire::socks::proxy "http://user:password@proxy:port/"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment