Last active
December 21, 2015 01:19
-
-
Save jansanchez/6226891 to your computer and use it in GitHub Desktop.
change proxy settings in /etc/enviroment
This file contains hidden or 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
# edit Enviroment | |
vim /etc/environment | |
# add | |
no_proxy=localhost,127.0.0.0/8,*.local,local.*,*.red.corporativa | |
NO_PROXY=localhost,127.0.0.0/8,*.local,local.*,*.red.corporativa | |
all_proxy=socks://172.21.0.83:3128 | |
ALL_PROXY=socks://172.21.0.83:3128 | |
http_proxy=http://172.21.0.83:3128 | |
HTTP_PROXY=http://172.21.0.83:3128 | |
ftp_proxy=http://172.21.0.83:3128 | |
FTP_PROXY=http://172.21.0.83:3128 | |
https_proxy=http://172.21.0.83:3128 | |
HTTPS_PROXY=http://172.21.0.83:3128 | |
# and for... npm set proxy | |
sudo npm config set registry http://registry.npmjs.org/ | |
sudo npm set proxy http://172.21.0.83:3128 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment