외국 서버에서 패키지를 다운받으면 느리다. 그래서 코리아 미러서버를 사용하려 한다.


sources.list


# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.

deb http://ftp.daumkakao.com/ubuntu/ xenial main restricted

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial main restricted


## Major bug fix updates produced after the final release of the

## distribution.

deb http://ftp.daumkakao.com/ubuntu/ xenial-updates main restricted

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial-updates main restricted


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team. Also, please note that software in universe WILL NOT receive any

## review or updates from the Ubuntu security team.

deb http://ftp.daumkakao.com/ubuntu/ xenial universe

deb-src http://ftp.daumkakao.com/ubuntu/ xenial universe

deb http://ftp.daumkakao.com/ubuntu/ xenial-updates universe

deb-src http://ftp.daumkakao.com/ubuntu/ xenial-updates universe


## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

## team, and may not be under a free licence. Please satisfy yourself as to

## your rights to use the software. Also, please note that software in

## multiverse WILL NOT receive any review or updates from the Ubuntu

## security team.

deb http://ftp.daumkakao.com/ubuntu/ xenial multiverse

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial multiverse

deb http://ftp.daumkakao.com/ubuntu/ xenial-updates multiverse

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial-updates multiverse


## N.B. software from this repository may not have been tested as

## extensively as that contained in the main release, although it includes

## newer versions of some applications which may provide useful features.

## Also, please note that software in backports WILL NOT receive any review

## or updates from the Ubuntu security team.

deb http://ftp.daumkakao.com/ubuntu/ xenial-backports main restricted universe multiverse

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial-backports main restricted universe multiverse


## Uncomment the following two lines to add software from Canonical's

## 'partner' repository.

## This software is not part of Ubuntu, but is offered by Canonical and the

## respective vendors as a service to Ubuntu users.

# deb http://archive.canonical.com/ubuntu xenial partner

# deb-src http://archive.canonical.com/ubuntu xenial partner


deb http://ftp.daumkakao.com/ubuntu/ xenial-security main restricted

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial-security main restricted

deb http://ftp.daumkakao.com/ubuntu/ xenial-security universe

deb-src http://ftp.daumkakao.com/ubuntu/ xenial-security universe

deb http://ftp.daumkakao.com/ubuntu/ xenial-security multiverse

# deb-src http://ftp.daumkakao.com/ubuntu/ xenial-security multiverse


위 파일은 default sources.list 파일에서 archive.ubuntu.com과 security.ubuntu.com을 ftp.daumkakao.com으로 replace한 파일이다


/etc/apt/sources.list 에 위 파일을 overwrite하자


아래에 docker에서 사용하는 방법 중 하나를 소개한다


cat > /etc/apt/sources.list

복사한 내용 paste 후 Ctrl+D




WRITTEN BY
hojongs
블로그 옮겼습니다 https://hojongs.github.io/