-
-
Save andru255/7089726 to your computer and use it in GitHub Desktop.
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
Se modifica el archivo en modo adminitrador: | |
~ sudo [nombre_editor] /etc/environment/ | |
y se agregan estas líneas | |
no_proxy="127.0.0.1,localhost" | |
NO_PROXY="127.0.0.1,localhost" | |
all_proxy=socks://172.21.0.12:3128/ | |
ALL_PROXY=socks://172.21.0.12:3128/ | |
http_proxy=http://172.21.0.12:3128 | |
HTTP_PROXY=http://172.21.0.12:3128 | |
ftp_proxy=http://172.21.0.12:3128 | |
FTP_PROXY=http://172.21.0.12:3128 | |
https_proxy=http://172.21.0.12:3128 | |
HTTPS_PROXY=http://172.21.0.12:3128 | |
Para el apt-get se modifica el archivo en modo administrador: | |
~ sudo [nombre_editor] /etc/apt/apt.conf.d | |
y se agregan estas lineas | |
Acquire::http::Proxy "http://172.21.0.12:3128/"; | |
Acquire::https::Proxy "https://172.21.0.12:3128/"; | |
Acquire::ftp::Proxy "ftp://172.21.0.12:3128/"; | |
y actualizar las variables environment | |
source /etc/environment | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment