[Base] name=CentOS-$releasever - Base - local #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os baseurl=http://xxx.xxx.xxx.xxx/centos/7/os/x86_64/ gpgcheck=1 gpgkey=http://xxx.xxx.xxx.xxx/centos/7/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras - local #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras baseurl=http://xxx.xxx.xxx.xxx/centos/7/extras/$basearch/ gpgcheck=1 gpgkey=http://xxx.xxx.xxx.xxx/centos/7/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus - local baseurl=http://xxx.xxx.xxx.xxx/centos/7/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://xxx.xxx.xxx.xxx/centos/7/RPM-GPG-KEY-CentOS-7
############# 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://mirrors.163.com/debian/ stretch main non-free contrib deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.163.com/debian/ stretch main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
#deb http://mirrors.163.com/debian/ stretch main non-free contrib #deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib #deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib deb http://192.168.12.100/debian/ stretch main non-free contrib deb http://192.168.12.100/debian/ stretch-updates main non-free contrib deb-src http://192.168.12.100/debian/ stretch main non-free contrib