Created
March 25, 2011 18:35
-
-
Save vinioliveira/887348 to your computer and use it in GitHub Desktop.
Configuring proxy to debian distro linux environment.
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
sudo echo " | |
https_proxy='http://10.0.0.1:3128' | |
http_proxy='http://10.0.0.1:3128' | |
ftp_proxy='10.0.0.1:3128' | |
Acquire { | |
HTTP::Proxy 10.0.0.1:3128; | |
FTP::Proxy 10.0.0.1:3128; | |
}; | |
alias wget='wget -Y on'" >> /etc/environment | |
sudo echo 'Acquire{ | |
HTTP::proxy "http://10.0.0.1:3128"; | |
FTP::proxy "http://10.0.0.1:3128"; | |
} | |
Acquire::https::proxy "http://10.0.0.1:3128" | |
" >> /etc/apt/apt.conf | |
sudo echo "export http_proxy ftp_proxy " >> /etc/profile | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment