系統設定全域 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) 阅读(4496)

About Persistent USB

2011年11月19日 16:47

I want make my persistent USB like:  URL: http://www.backtrack-linux.org/wiki/index.php/Persistent_USB

So I download Backtrack5 ISO file and want install it into USB disk that size is 16G.

 

My ENV:

Linux distro: Fedora 15

Linux distro: Backtrack 5 (ISO file want install to USB disk)

syslinux: version 4.02

USB disk: 16G and partition like:

         /dev/sdb1   *     FAT32    2.5G

         /dev/sdb2          Linux      -

 

Copy all file from ISO file to /dev/sdb1 and make it bootable by syslinux.

When I reboot, error displayed like:

boot:

vesamenu.c32 NOT a COM32R IMAGE

 

And I search in google, someone saied it's may be version different between syslinux and boot.cat.

So I download boot.iso bootable version 4.x. But it can't be work.

 

Another method is copy vesamenu.c32 file to USB from your linux.

So I copy /usr/share/syslinux/vesamenu.c32(My system is fedora 15, anothers system may be have some different) to USB disk.

Ok, reboot~

Success~~~~~~~~

(PS: In backtrack not have Chinese input~, ibus and SCIM can not be work, so  I just can ues English~ I know my English is so poor~  May be I can write it better if I can input Chinese or Japanese~  :)

Tags: linux Persistent USB Backtrack vesamenu.c32 syslinux
评论(0) 阅读(2488)