Quantcast
Channel: Am I Autodidact?
Viewing all articles
Browse latest Browse all 25

Proxy Settings - Enviroment Variables

$
0
0
Proxy can be set up using environment variables automatically for all users by creating the following file,

/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

Viewing all articles
Browse latest Browse all 25

Trending Articles