| Author |
Message |
AviMarcus
Joined: 02 Jan 2011
Posts: 19
|
| Posted: Thu Feb 03, 2011 8:45 am Post subject: Ubuntu/Debian apt-cacher-save some time and bandwidth |
|
|
If you're running ubuntu/debian, you can take advantage of an apt-cacher for your package additions and updates.
It should be slightly faster to fetch, but with ~75% of all linode users on ubuntu/debian, it should save a little bit of external bandwidth.
As of this post, there's an apt-cacher-ng in Newark,NJ and in London.
Simply run
Code: echo 'Acquire::http { Proxy "http://<server address>:3142"; };' | sudo tee /etc/apt/apt.conf.d/01proxy
Substituting for the <server address>:
london-cache.getbestfone.com for london
newark-ubuntu-cache.alittletothewright.com for newark
You can find updated info at:
https://www.linode.com/wiki/index.php?title=Internal_Services |
|
| Back to top |
|
Tiven
Joined: 25 Apr 2010
Posts: 12
|
| Posted: Thu Feb 03, 2011 6:43 pm Post subject: |
|
|
| Thanks :) |
|
| Back to top |
|
techside
Joined: 04 Feb 2011
Posts: 4
Location: ITALY
|
| Posted: Fri Feb 04, 2011 7:03 pm Post subject: |
|
|
Very good, but I have just purchased a linode 512 and used the proxy configuration for the london location.
The london proxy (london-cache.getbestfone.com) seems to be down... :cry: |
|
| Back to top |
|
obs
Joined: 07 Mar 2010
Posts: 1400
Location: Earth
|
| Posted: Fri Feb 04, 2011 10:28 pm Post subject: |
|
|
| The DNS entries for it point to 192.168.145.76 which is an internal IP, make sure you have a private IP on your linode. |
|
| Back to top |
|
techside
Joined: 04 Feb 2011
Posts: 4
Location: ITALY
|
| Posted: Sat Feb 05, 2011 5:43 am Post subject: |
|
|
Ooops :oops:
I have no private IP configured, now, after the configuration all works well.
Thanks |
|
| Back to top |
|
| |