系統設定全域 http Proxy(Ubuntu)

2011年12月09日 20:49

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
系統\偏好設定\代理伺服器

 

Tags: ubuntu proxy
评论(1) 阅读(4423)

从coolshell.cn的摘抄

2011年12月08日 15:32

Java和C#的语法比较

http://www.harding.edu/fmccown/java_csharp_comparison.html

PHP,Perl, Ruby, Python语法比较

http://hyperpolyglot.org/scripting?utm_source

 

SQL学习

http://sql.learncodethehardway.org/book/

 

Python的简明教程(10分钟学会Python)

http://www.korokithakis.net/tutorials/python/

http://learnpythonthehardway.org/

 

SQL性能优化

http://use-the-index-luke.com/

 

各种语言的排序

stringoftheseus.com/blog/2011/01/10/api-sorting-algorithms/

 

各种脚本的排名(看看得了,别较真)

http://rigaux.org/language-study/scripting-language/

 

写VIM插件

http://stevelosh.com/blog/2011/09/writing-vim-plugins/

当然,先得学VIM的简明教程(http://coolshell.cn/articles/5479.html),如果VIM用得如火纯清,那就可以跳过了。

 

浏览器是如何工作的,说实话,从没考虑过。

http://www.html5rocks.com/en/tutorials/internals/howbrowserswork/

 

VIM的C/C++开发用插件

http://www.fortystones.com/vim-plugins-c-cplusplus-developer/

 

技术资料

http://coolshell.cn/articles/240.html

http://coolshell.cn/articles/336.html

http://coolshell.cn/articles/355.html

http://coolshell.cn/articles/2775.html

http://www.linuxtopia.org/

 

GNOME开发

http://damienradtke.org/unofficial-introduction-to-gnome-application-dev/

 

WEB安全

http://guides.rubyonrails.org/security.html

Tags: 各种
评论(0) 阅读(1419)