SHARE
TWEET

ProxySet in Linux

demaya Jun 20th, 2011 679 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. In /etc/bash.bashrc
  2. export http_proxy=http://user:pass@192.168.111.10:8080
  3. export HTTP_PROXY=http://user:pass@192.168.111.10:8080
  4. export ftp_proxy=ftp://user:pass@192.168.111.10:8080
  5. export FTP_PROXY=ftp://user:pass@192.168.111.10:8080
  6. export https_proxy=https://user:pass@192.168.111.10:8080
  7. export HTTPS_PROXY=https://user:pass@192.168.111.10:8080
  8.  
  9.  
  10. Bei Ubuntu:
  11. Acquire::http::proxy "http://user:pass@192.168.111.10:8080/";
  12. Acquire::ftp::proxy "ftp://user:pass@192.168.111.10:8080/";
  13. Acquire::https::proxy "https://user:pass@192.168.111.10:8080/";
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top