{"id":1025,"date":"2011-12-04T23:39:08","date_gmt":"2011-12-04T21:39:08","guid":{"rendered":"http:\/\/blog.sfsoft.it\/?p=1025"},"modified":"2014-09-16T09:01:16","modified_gmt":"2014-09-16T07:01:16","slug":"usare-apt-cacher-ng-con-mint","status":"publish","type":"post","link":"http:\/\/www.sfsoft.it\/blog\/2011\/12\/04\/usare-apt-cacher-ng-con-mint\/","title":{"rendered":"Usare apt-cacher-ng con Mint"},"content":{"rendered":"<p>A differenza di <em>Ubuntu<\/em> per utilizzare il proxy <em>apt-cacher-ng<\/em> per non stare a scaricare pi\u00f9 volte gli stessi pacchetti per tutti i PC della <em>LAN<\/em> non basta aggiungere il server in <em>sources.list<\/em> perch\u00e8 fallisce il download occorre aggiungere l&#8217;opzione del proxy in <em>apt<\/em>.<\/p>\n<p>Se non esiste ancora ( nel mio caso tale file non esisteva ) occorre creare il file <em>apt.conf<\/em>:<\/p>\n<pre class=\"lang:default decode:true \">sudo nano \/etc\/apt\/apt.conf<\/pre>\n<p>E inserire questa direttiva:<\/p>\n<pre class=\"lang:default decode:true\">Acquire::http { Proxy \"http:\/\/192.168.0.13:3142\"; };<\/pre>\n<p>Oppure anche nel formato:<\/p>\n<pre class=\"lang:default decode:true\">Acquire::http::Proxy \"http:\/\/192.168.0.13:3142\";<\/pre>\n<p>Poi basta salvare e da quel momento si utilizzare il proxy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A differenza di Ubuntu per utilizzare il proxy apt-cacher-ng per non stare a scaricare pi\u00f9 volte gli stessi pacchetti per tutti i PC della LAN non basta aggiungere il server in sources.list perch\u00e8 fallisce il download occorre aggiungere l&#8217;opzione del proxy in apt. Se non esiste ancora ( nel mio caso tale file non esisteva [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,3,77],"tags":[133,16,8,78],"_links":{"self":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/1025"}],"collection":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/comments?post=1025"}],"version-history":[{"count":4,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/1025\/revisions"}],"predecessor-version":[{"id":1654,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/1025\/revisions\/1654"}],"wp:attachment":[{"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/media?parent=1025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/categories?post=1025"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/tags?post=1025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}