Linux   « MacBook Air | HOME | Initial setup »

 ■ Proxy server - Client setup

If you need to setup Proxy server in order to connect internet,

create below files in the directory "/etc/profile.d".

# nano /etc/profile.d/proxy.csh

setenv http_proxy http://proxy-server.com:8080/
setenv ftp_proxy http://proxy-server.com:8080/
setenv no_proxy
setenv HTTP_PROXY http://proxy-server.com:8080/
setenv FTP_PROXY http://proxy-server.com:8080/

# nano /etc/profile.d/proxy.sh

export http_proxy=http://proxy-server.com:8080/
export ftp_proxy=http://proxy-server.com:8080/
export no_proxy=
export HTTP_PROXY=http://proxy-server.com:8080/
export FTP_PROXY=http://proxy-server.com:8080/


Then change access rights.
# chmod 755 /etc/profile.d/proxy.*

Logout and login again.

投稿者 tomopugh : 2008年02月07日 13:39

Comment

Please comment !




Save the info?


  (Please don't click on "post" twice. It takes time a bit to change to the next screen!!)