Server :
# apt-get install apt-cacher
# vi /etc/apt-cacher/apt-cacher.conf
allowed_hosts = *# /etc/init.d/apt-cacher restart
or
allowed_hosts = 192.168.1.0/24
Client :
http://your-server:3142/
# vi /etc/apt/apt.conf
Acquire::http::proxy "http://your-server:3142";
沒有留言:
張貼留言