Configure Debian To Use Your Local MIrror
After creating your own Debian mirror, you will want to configure your other computers to use it.
Replace the contents of your /etc/apt/sources.list
file with the relevant section based on which version of Debian you are using.:
Debian 10 (Buster)
deb http://MY-MIRROR-IP-OR-DOMAIN/debian/ buster main
deb-src http://MY-MIRROR-IP-OR-DOMAIN/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://MY-MIRROR-IP-OR-DOMAIN/debian/ buster-updates main
deb-src http://MY-MIRROR-IP-OR-DOMAIN/debian/ buster-updates main
Debian 9 (Stretch)
deb http://MY-MIRROR-IP-OR-DOMAIN/debian/ stretch main
deb-src http://MY-MIRROR-IP-OR-DOMAIN/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
#deb http://MY-MIRROR-IP-OR-DOMAIN/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
#deb-src http://MY-MIRROR-IP-OR-DOMAIN/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
deb http://MY-MIRROR-IP-OR-DOMAIN/debian/ stretch-updates main
deb-src http://MY-MIRROR-IP-OR-DOMAIN/debian/ stretch-updates main
Last updated: 17th April 2021
First published: 17th April 2021
First published: 17th April 2021