Thursday, March 19, 2009

Ubuntu mirror.list - good example

個人覺得這樣寫比較好啦
deb-i386 就只抓 i386 這樣比較節省空間
我們公司兩者都有 所以兩者都寫

############# config ##################
#
#set base_path /var/spool/apt-mirror
set base_path /home/apt-mirror
#
# if you change the base path you must create the directories below with write privlages
#
# 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
set nthreads 2
set _tilde 0
#
############# end config ##############

# Ubuntu 8.04 "Hardy" amd64
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-amd64 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

# Ubuntu 8.04 "Hardy" i386
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-updates main restricted universe multiverse
deb-i386 http://tw.archive.ubuntu.com/ubuntu hardy-security main restricted universe multiverse

clean http://tw.archive.ubuntu.com/ubuntu

No comments:

Post a Comment