Is good if you have multiple systems that use deb packages (apt-get, aptitude, synaptic,...) to accelerate new builds and updates.
After enabling the appropriate Debian repositories:
As of this posting you will have to add the current Debian Lenny repositories to the file /etc/apt/sources.list since they have been moved.
Install apt-cacher:
apt-get update
apt-get install apt-cacher
In Configuration - Networking - Packet Filter add Packet Filter rules for the interfaces you want apt-cacher to serve
apt-cacher and apt-cacher-ng Internal PASS Port 3142
apt-cacher and apt-cacher-ng DMZ PASS Port 3142
Review settings in /etc/apt-cacher/apt-cacher.conf
nano /etc/apt-cacher/apt-cacher.conf
Enable autostart of the apt-cacher daemon
nano /etc/default/apt-cacher
Change AUTOSTART=0 to AUTOSTART=1
Restart Apache:
/etc/init.d/apache2 restart
Start apt-cacher:
/etc/init.d/apt-cacher start
Starting Apt-Cacher: apt-cacher Warning: /var/log/apt-cacher/access.log missing. Creating.
Warning: /var/log/apt-cacher/error.log missing. Creating.
Configuring the Clients
With a web browser check the accessibility of apt-cacher
http://”your-untangle-utm”:3142
You should get the apt-cacher configuration web page for clients.
You can configure your client as per the instruction on the page or you can use this simpler method.
# touch /etc/apt/apt.conf.d/20proxy
# nano /etc/apt/apt.conf.d/20proxy
add this single line were XXX.XXX.XXX.XXX is the IP address of your Untangle UTM
Acquire::http { Proxy "http://XXX.XXX.XXX.XXX:3142"; };
Save and close then run apt-get update. Your client system should be ready to use the apt-cacher cache.
- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances


LinkBack URL
About LinkBacks

