DO Ideas 2

mirror Ubuntu's repository for faster package management; plus it will save on bandwidth.

  • Brad Smith
  • Sep 11 2018
  • Shipped
  • Attach files
  • roger pack commented
    September 11, 2018 19:30

    these seem to work great for ubuntu, thanks!

  • Anonymous commented
    September 11, 2018 19:30

    well thank you they don't work!! 404

  • Moisey Uretsky commented
    September 11, 2018 19:30

    We've updated a few of the base images to use mirrors.digitalocean.com and will update more in the future.

    We'll also work on rolling out in Q1 2014 geo distributed DNS for mirrors so that the closest region is selected automatically.

    Thanks!

  • Kevin commented
    September 11, 2018 19:30

    Can I assume these mirrors are not at each datacenter? I get a 72ms ping to mirrors.digitalocean.com in NY2 and only 8ms to archive.ubuntu.com.

  • Álvaro Justen commented
    September 11, 2018 19:30

    Are the mirrors going to be default in DO images?

  • Kamal Nasser commented
    September 11, 2018 19:30

    This is now completed.

    Mirrors are available on http://mirrors.digitalocean.com/ with http, ftp, and rsync support.

    If you have any questions, comments, suggestions, or concerns, please email mirror@digitalocean.com.

    Thanks.

  • Ian Heggie commented
    September 11, 2018 19:30

    From San Francisco the best ping / transfer rate for me was around 1 ms, and 61.9M/s (for 10MB file)

    http://mirrors.us.kernel.org/ubuntu/

    (Calculated by doing three pinds to every host in http://mirrors.ubuntu.com/mirrors.txt, then sorting by ping time, then doing a wget of ls-lR.gz)

  • Kevin commented
    September 11, 2018 19:30

    +2 for this. Rackspace does this and I've found it very useful. They automatically add their mirror to the images as well.

  • Pablo commented
    September 11, 2018 19:30

    Your votes would probably be better served if you consolidated them w/the thread w/this same request that was previously started (given that it's already garnered a significant number of votes): http://digitalocean.uservoice.com/forums/136585-digital-ocean/suggestions/3557909-mirror-ubuntu-s-repository-for-faster-package-mana

  • Carlos Lima commented
    September 11, 2018 19:30

    Debian, please.

  • Anonymous commented
    September 11, 2018 19:30

    Make this for Arch too, please.

  • James Cloos commented
    September 11, 2018 19:30

    For debian, http://ftp-nyc.osuosl.org/debian is *very* near.
    http://rocky-mountain.csail.mit.edu/debian makes a good backup.

    For Amsterdam, Debian’s primary Netherlands mirror is best: http://ftp.nl.debian.org/debian/

  • Jose Luis Rivas commented
    September 11, 2018 19:30

    A Debian mirror would be fine too. It's as easy as installing apt-cacher-ng and in one server you can have ubuntu, debian and fedora's mirrors.

  • Marco commented
    September 11, 2018 19:30

    On debian, this is the first thing I do on a new server. This basically finds the closest (and fastest) debian mirror. Make sure you uncomment the security repository, then replace /etc/apt/sources.list with the generated file.

    apt-get -y update
    apt-get -y install netselect-apt
    /usr/bin/netselect-apt -n squeeze -o sources.list

  • Alex Bradbury commented
    September 11, 2018 19:30

    A Debian mirror would also be great. I assume at some point DigitalOcean will roll out a cloud-init like functionality as used in Ubuntu on EC2. A super fast Ubuntu mirror will help increase speed of deploys.

  • Matt Nordhoff commented
    September 11, 2018 19:30

    For what it's worth, apt-cacher-ng is a caching proxy designed to be used for apt-based distros, so you only need to store what users request, not gigs of KDE or whatever that nobody needs.

    http://www.unix-ag.uni-kl.de/~bloch/acng/ or apt-get install apt-cacher-ng.

  • Anonymous commented
    September 11, 2018 19:30

    How do you do that? Can anyone give a link for instructions?

  • Nick Gauthier commented
    September 11, 2018 19:30

    I use Columbia University's mirror here:

    http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive/

  • Alex Gusset commented
    September 11, 2018 19:30

    Yay, I was very shocked this wasn't already done when I made a server to test out the site.

  • Moisey Uretsky commented
    September 11, 2018 19:30

    Working on this in the meantime we've heard from other customers that Columbia.edu's mirror of ubuntu is very fast from our NYC region 12MB/s =]

  • Rodolfo Pilas commented
    September 11, 2018 19:30

    Please, a Debian mirror too

  • Joseph Chang commented
    September 11, 2018 19:30

    Debian, too!

  • Anonymous commented
    September 11, 2018 19:30

    Squid?

  • Pierre-Louis Gottfrois commented
    September 11, 2018 19:30

    This is a great idea ! +1

  • Anonymous commented
    September 11, 2018 19:30

    Also setup a Debian mirror.

  • Moisey Uretsky commented
    September 11, 2018 19:30

    This is a great suggestion and something we will definitely look into as soon as we clear through a bit more of our backlog on feature requests.

  • John Lester commented
    September 11, 2018 19:30

    Can't give this one enough votes - was actually surprised you didn't already have this!

  • Ryan Sanden commented
    September 11, 2018 19:30

    Yes, this seems like a win/win for both us and them. Currently an ubuntu 12.04 apt-mirror requires about 125G of disk space for (32bit + 64bit + source).