Creating a public FOSS mirror

August 2009


Procedure 38.  Installing the O/S

  1. Installing Debian

    I did it like described in .

  2. Making sure mail works

    In /etc/aliases, create an alias for root that points to an actual user, and an alias for that user that directs his/her mail to an address outside of the system. Then run sudo newaliases and try the new config with:

    The user should receive mail.

  3. Making sure time is kept

    ntpq -p

Procedure 39.  Mirroring

  • Installing the mirroring scripts

    I made a package, so in /etc/apt/sources.list, put:

      deb http://repos.mydomain.com/~jurjen/path/to/my/repository lenny experimental
    	

    Then do

    apt-get update
    apt-get install scaramanga

    ... and edit /etc/scaramanga/scaramanga.conf to your liking.