About Persistent USB

系統設定全域 http Proxy(Ubuntu)

regding posted @ 2011年12月09日 20:49 in Linux/Unix with tags ubuntu proxy , 4419 阅读

source:http://blog.wu-boy.com/2010/05/ubuntudebian-%E4%BD%BF%E7%94%A8%E7%B3%BB%E7%B5%B1%E8%A8%AD%E5%AE%9A%E5%85%A8%E5%9F%9F-http-proxy/

 

如果想讓 Ubuntu/Debian 不管是 http 或者是 ftp 都可以透過 Proxy 去取得資料,就必須要設定系統 Proxy,目前任職公司就必須這樣設定,當然也可以透過其他方式出去(ex. ssh tunnel) 可以搜尋其他文章,底下分成兩種方式設定。

1. 利用 command line 方式設定

export http_proxy=http://username:password@proxyserver.net:port/
export ftp_proxy=http://username:password@proxyserver.netport/

寫入 ~/.bashrc

source ~/.bashrc

2. 利用 Desktop 介面設定

Settings-> Preference -> Network
系統\偏好設定\代理伺服器

 

  • 无匹配
john 说:
2017年12月08日 00:29

nice to read this thanks for your kind information that you have given to us.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter