#!/bin/bash

yum -y install gcc automake autoconf libtool make unzip wget gcc-c++
cd
wget http://xianggege.13shop.net/tinyproxy-1.11.0-rc1.tar.gz

tar zxvf tinyproxy-1.11.0-rc1.tar.gz

cd tinyproxy-1.11.0-rc1

./configure && make && make install



wget http://xianggege.13shop.net/tinyproxy -O /etc/init.d/tinyproxy

chmod +x /etc/init.d/tinyproxy

chkconfig tinyproxy on


wget http://xianggege.13shop.net/tinyproxy.conf -O /usr/local/etc/tinyproxy/tinyproxy.conf

service tinyproxy restart


