Note = YUM
======IDC
Server side Setup============
# yum install privoxy
# service privoxy start
==================================
======Client Local
Office
Setup=========
-nothing to install actually
# echo
'http_proxy=http://localhost:4222' >> /etc/yum.conf
# echo 'export
http_proxy=localhost:4222' >> /etc/rc.local
( info: run # export
http_proxy=localhost:4222 to activate w/o reboot)
( check run # echo
$http_proxy if correct you will get
"http://localhost:4222")
# in case no need proxy -> wget
--no-proxy
#
ssh -f -L 4222:localhost:8118 root@idc-server-ip -p 22
sleep 2d
( info: once you enter the command, its forked to the
background
)
( info: yum update can be used as usual )