Scripts for running an offline Debian mirror.
The mirror.sh script uses debmirror to download all sections of i386
and amd64
architectures from Stretch and Buster distributions.
The mirror will go into $HOME/data
.
./mirror.sh [--check]
Optionally, the script can sync the dists
directory then verifies that all files listed in Packages
and Sources
have been downloaded with verif.py script.
nginx, Apache, lighttpd, or event python3 -mhttp.server
can serve files.