UNIX主機設定方式設定方式


一、請先確定您所使用之 shell

echo $SHELL

二、依您所使用之 shell 修改環境參數數。

使用 sh, bash, ksh, zsh :

http_proxy="http://proxy.tpc.edu.tw:3128/"
gopher_proxy="http://proxy.tpc.edu.tw:3128/"
ftp_proxy="http://proxy.tpc.edu.tw:3128/"
no_proxy="tpc.edu.tw"
export http_proxy gopher_proxy ftp_proxy no_proxy

使用 csh, tcsh :

setenv http_proxy "http://proxy.tpc.edu.tw:3128/"
setenv gopher_proxy "http://proxy.tpc.edu.tw:3128/"
setenv ftp_proxy "http://proxy.tpc.edu.tw:3128/"
setenv no_proxy "tpc.edu.tw"


[回上頁]

Comments to : scc@tpc.edu.tw