How to set up proxy in EC2 linux
Tinyproxy is a HTTP proxy server daemon for POSIX operating systems. Designed to be fast and small, it is useful when an HTTP/HTTPS proxy is required, but the system resources for a larger proxy are unavailable. Because of this it has been put to uses such as a tether on the iPhone.
$ sudo yum -y install tinyproxy --enablerepo=epel
$ sudo vim /etc/tinyproxy/tinyproxy.conf
$ sudo /etc/init.d/tinyproxy start