Using the mirror disk with an Out-Of-the-Box Ubuntu Precise

  1. To use the mirror disk on a freshly installed Ubuntu Precise...

    Mount its third partition (will often be /dev/sdc3) under /srv:

    Much configuration depends on that mount point being correct.

  2. Add the local scaramanga repository to apt

  3. Add the mirror itself to apt

  4. If no bandwidth, remove other apt sources

    If you have limited or no bandwidth to the rest of the world, you may want to remove all http:// entries from all apt sources (including the one in scaramanga.list):

  5. Install scaramanga

    This will also install apache2 and rsync

  6. Turn on apache (and rsync)

  7. Prevent the mirror from syncing

    On a classroom mirror, you may not want to sync at night. In that case: