Wednesday 27 June 2007

linux proxy setting up

Proxy and port combination

Most programs (that support proxies at all) support this method. The easiest way to set it up, it to edit /etc/profile.d/proxy.sh file. It should contain the following:

#!/bin/bash
export http_proxy=http://cache.lsbu.ac.uk:8080
export ftp_proxy=http://cache.lsbu.ac.uk:8080

Most programs should then (on next logon) be able to use the proxies. Some may need to be told explicitly though. The proxy hostname is 'proxy.sun.ac.za' and the port is 3128.

No comments:

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter