ubuntu mirror server 구축 방법
# apt-get update
# apt-get -y install apt-mirror
# apt-get -y apache2
# cd /etc/apt/
# vi mirror.list (파일이 있다 해외서버를 한국서버로 변경하자)
# apt-mirror configuration file
############# 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 ##############
# 64Bit Mirror
deb-amd64 http://ftp.daum.net/ubuntu precise main restricted universe multiverse
deb-amd64 http://ftp.daum.net/ubuntu precise-security main restricted universe multiverse
deb-amd64 http://ftp.daum.net/ubuntu precise-updates main restricted universe multiverse
deb-amd64 http://ftp.daum.net/ubuntu precise-proposed main restricted universe multiverse
deb-amd64 http://ftp.daum.net/ubuntu precise-backports main restricted universe multiverse
# 32Bit Mirror
deb-i386 http://ftp.daum.net/ubuntu precise main restricted universe multiverse
deb-i386 http://ftp.daum.net/ubuntu precise-security main restricted universe multiverse
deb-i386 http://ftp.daum.net/ubuntu precise-updates main restricted universe multiverse
deb-i386 http://ftp.daum.net/ubuntu precise-proposed main restricted universe multiverse
deb-i386 http://ftp.daum.net/ubuntu precise-backports main restricted universe multiverse
clean http://ftp.daum.net/ubuntu
# apt-mirror
Downloading 84 index files using 20 threads...
Begin time: Mon Mar 24 12:20:07 2014
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Mon Mar 24 12:20:39 2014
Proceed indexes: [SSSPPP]
108.4 GiB will be downloaded into archive.
Downloading 105708 archive files using 20 threads...
Begin time: Mon Mar 24 12:20:47 2014
[20]... [19]...