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.192.168.1.187)   
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   
eg   
deb http://192.168.1.187:9999/ubuntu/ gutsy main universe restricted musletiver   
finally restart the apt service   
/etc/init.d/apt-proxy restart   
..... 
Sahab
No comments:
Post a Comment