sanguk.dev
작성완료
우분투 apt repository 국내 서버로 변경

우분투 apt repository 국내 서버로 변경

우분투의 apt repository를 국내 서버로 변경하기 위해 /etc/apt/sources.list 파일을 열고, 한국 서버 주소를 추가하는 방법을 설명합니다. 필요한 내용은 xenial 버전의 다양한 저장소를 포함합니다.

Ubuntu

설정 파일 열기

shell
vi /etc/apt/sources.list

내용 넣기

plain
deb http://kr.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://kr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://kr.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://kr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ xenial universe