TandyUK | hi guys | 13:37 |
---|---|---|
TandyUK | i asked awhile ago but cant find the logs... | 13:37 |
TandyUK | how do i setup one of my mythtv systems to acty as a local mirror for apt | 13:37 |
TandyUK | so i can have 1 system download all the updates, and have the other local systems update from it | 13:37 |
TandyUK | also having read about apt-mirror id like to only mirror the mythbuntu relevant updates rather than the entire repo (most of which is never used by myth) | 13:41 |
rhpot1991 | TandyUK: squid-deb-proxy | 15:37 |
rhpot1991 | you install the client on all pcs | 15:37 |
rhpot1991 | and the server on one of the pcs in your household | 15:37 |
TandyUK | thatsd the one ty | 15:37 |
rhpot1991 | then it automagically caches the packages there | 15:37 |
rhpot1991 | and works great | 15:38 |
TandyUK | yeah i was talking to you about it before | 15:38 |
TandyUK | just couldnt find the logs :P | 15:38 |
TandyUK | now i have a keyworkd i may have more luck :) | 15:38 |
rhpot1991 | TandyUK: you normally have to enable ppa and such too, in /etc/squid-deb-proxy/ on the server | 15:38 |
rhpot1991 | I think there is a config.d folder or similar in there | 15:38 |
rhpot1991 | and then restart the server with the init script and all should be good | 15:39 |
TandyUK | is it really worth it for 2 systems... we have 1 backend/frontend and a second frontend | 15:39 |
* tgm4883 shrugs | 15:42 | |
tgm4883 | TandyUK, depends on how much you care about bandwidth | 15:42 |
tgm4883 | and if you update your systems at the same time | 15:42 |
TandyUK | its not so much the bandwidth as the slow ass connection | 15:43 |
Zinn | TandyUK: Please watch your language. | 15:43 |
tgm4883 | it's almost zero work to set it up | 15:43 |
tgm4883 | are both systems the same ARCH? | 15:43 |
TandyUK | yeah | 15:44 |
tgm4883 | and both run the same release of ubuntu? | 15:44 |
TandyUK | theyre identical | 15:44 |
tgm4883 | eg. 12.04 | 15:44 |
tgm4883 | then it's pretty easy to do | 15:44 |
tgm4883 | install squid-deb-proxy on the server, and squid-deb-proxy-client on both systems | 15:45 |
tgm4883 | enable the ppa functionality | 15:45 |
tgm4883 | and voila, done | 15:45 |
tgm4883 | and by PPA functionality, you need to add ppa.launchpad.net to the bottom of /etc/squid-deb-proxy/mirror-dstdomain.acl | 15:47 |
tgm4883 | then sudo service squid-deb-proxy restart | 15:47 |
tgm4883 | you only need to do the above on the server | 15:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!