Added configs for apt-mirror-server
This commit is contained in:
24
apt-mirror-server/etc/apt/mirror.list
Normal file
24
apt-mirror-server/etc/apt/mirror.list
Normal file
@ -0,0 +1,24 @@
|
||||
#### START /etc/apt/mirror.list ####
|
||||
|
||||
set base_path /DATA/repos
|
||||
set mirror_path $base_path/mirror
|
||||
set skel_path $base_path/skel
|
||||
set var_path $base_path/var
|
||||
set cleanscript $var_path/clean.sh
|
||||
set _autoclean 1
|
||||
|
||||
#set postmirror_script $var_path/postmirror.sh
|
||||
set run_postmirror 0
|
||||
|
||||
set nthreads 40
|
||||
set _tilde 0
|
||||
|
||||
deb-amd64 http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
|
||||
deb-amd64 http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
|
||||
deb-amd64 http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
|
||||
|
||||
deb-amd64 http://deb.debian.org/debian/ bookworm main/debian-installer main contrib non-free
|
||||
|
||||
clean http://ftp.us.debian.org/debian
|
||||
|
||||
#### End ####
|
34
apt-mirror-server/etc/apt/mirror.list.def
Normal file
34
apt-mirror-server/etc/apt/mirror.list.def
Normal file
@ -0,0 +1,34 @@
|
||||
############# config ##################
|
||||
#
|
||||
# set base_path /var/spool/apt-mirror
|
||||
#
|
||||
# set mirror_path $base_path/mirror
|
||||
# set skel_path $base_path/skel
|
||||
# set var_path $base_path/var
|
||||
# set cleanscript $var_path/clean.sh
|
||||
# set defaultarch <running host architecture>
|
||||
# set postmirror_script $var_path/postmirror.sh
|
||||
# set run_postmirror 0
|
||||
set nthreads 20
|
||||
set _tilde 0
|
||||
#
|
||||
############# end config ##############
|
||||
|
||||
deb http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
|
||||
# mirror additional architectures
|
||||
#deb-alpha http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-amd64 http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-armel http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-hppa http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-i386 http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-ia64 http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-m68k http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-mips http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-mipsel http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-powerpc http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-s390 http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
#deb-sparc http://ftp.us.debian.org/debian unstable main contrib non-free
|
||||
|
||||
clean http://ftp.us.debian.org/debian
|
Reference in New Issue
Block a user