/etc/profile.d/proxyenv.sh
http_proxy="192.168.36.204:8080"
https_proxy="192.168.36.204:8080"
ftp_proxy="192.168.36.204:8080"
export http_proxy, https_proxy, ftp_proxy
If you are using csh instead of bash then create the following file,
/etc/profile.d/proxyenv.csh
setenv http_proxy="192.168.36.204:8080"
setenv https_proxy="192.168.36.204:8080"
setenv ftp_proxy="192.168.36.204:8080"
Reference: Unofficial ISS Linux Web Pages
No comments:
Post a Comment