본문 바로가기
컴퓨터 & IT 기타

우분투(Ubuntu) 미러 서버 변경하기

by Kallunar 2023. 11. 9.

우분투 이미지를 이용하여
docker container를 하나 만들어 돌리는데

속도가 참으로 처참하기 그지없다

기가 인터넷 시대에 이게 말이되나? 싶겠지만
말이 된다.

uri에서 보다시피 저기 바다 건너 미국 본토에서 오기 때문이다.
(물론 지금 쓰는 와이파이가 구데기인 면도 있긴 하지만...)

아무튼 그렇다고 해서 가만히
그렇구나 하고 있기에는 시간이 아깝다

따라서 국내 미러 서버로 변경을 해서
이득을 끌어내보도록 하자

대표적으로 국내에서 미러링 서비스를 제공하는 곳으로는
카이스트와 카카오가 있다

 

KAIST Mirror

KAIST Mirror: Mirror of open source softwares

ftp.kaist.ac.kr

 

 

Ubuntu Releases

There are 2 types of Ubuntu releases: Interim and LTS. Each Ubuntu LTS is maintained for 10 years total: 5 years of standard support + 5 years of ESM. Interim releases are maintained for 9 months. For the Ubuntu release cycle please see: The Ubuntu lifecyc

mirror.kakao.com

그리고 이들 서버로 변경하려면
이렇게 입력하면 된다

카이스트

sed -i 's/archive.ubuntu.com/ftp.kaist.ac.kr/' /etc/apt/sources.list

카카오

sed -i 's/archive.ubuntu.com/mirror.kakao.com/' /etc/apt/sources.list

 

그 후 'apt update' 를 해주면 된다.

 

카이스트 미러 서버로 변경하였다

그 후 필요한 것들을 설치해보면...

 

속도가 확실히 빨라졌다

댓글