<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Apt; Apt-Get;cache;ubuntu;debian;linux;apt-Cacher;tutorial;cheatsheet;cheat Sheet;guide;howto;how To;example on</title><link>https://dawning.ca/tags/apt-apt-getcacheubuntudebianlinuxapt-cachertutorialcheatsheetcheat-sheetguidehowtohow-toexample/</link><description>Recent content in Apt; Apt-Get;cache;ubuntu;debian;linux;apt-Cacher;tutorial;cheatsheet;cheat Sheet;guide;howto;how To;example on</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright © James Snell</copyright><lastBuildDate>Fri, 08 Feb 2013 13:29:44 +0000</lastBuildDate><atom:link href="https://dawning.ca/tags/apt-apt-getcacheubuntudebianlinuxapt-cachertutorialcheatsheetcheat-sheetguidehowtohow-toexample/index.xml" rel="self" type="application/rss+xml"/><item><title>Apt cache cheatsheet</title><link>https://dawning.ca/posts/apt-cache-cheatsheet/</link><pubDate>Fri, 08 Feb 2013 13:29:44 +0000</pubDate><guid>https://dawning.ca/posts/apt-cache-cheatsheet/</guid><description>
&lt;p>I&amp;rsquo;ve been setting up a number of apt-cacher instances on different networks I run Ubuntu boxes on. This is a well documented process. I&amp;rsquo;m posting the key steps if only for my own reference later.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>&lt;em>apt-get install apt-cacher&lt;/em>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Edit &lt;em>/etc/default/apt-cacher&lt;/em> add &lt;em>AUTOSTART=1&lt;/em>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Edit &lt;em>/etc/apt-cacher/apt-cacher.conf&lt;/em> and make sure the allowed_hosts line is explicitly as intended.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open client (and local server&amp;rsquo;s) &lt;em>/etc/apt/sources.list&lt;/em> and str repl &lt;em>%s/http:\/\//http:\/\/SERVERHOSTNAME:3142\/apt-cacher\//g&lt;/em>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>Default port is 3142&lt;/p>
&lt;h2 id="good-detailed-resources">Good detailed resources:&lt;/h2></description></item></channel></rss>