Tuesday, May 20, 2008

AptProxy Server Setup

Firs install the apt-proxy package using synaptic or apt-get
apt-get install apt-proxy

Then edit the follwing in apt proxy configuration file
vim /etc/apt-proxy/apt-proxyv2.conf
Edit the Server IP to listen on
address = Your server ip address (eg.

add the following entry to /etc/apt/source.list on your client also coment out all the default repositary
deb http://aptproxyserverip:9999/ubuntu/ gutsy main universe restricted musletiver
deb http://aptproxyserverip:9999/ubuntu gutsy partner
deb gutsy main universe restricted musletiver
finally restart the apt service
/etc/init.d/apt-proxy restart


No comments: