Ubuntu 교체 다운로드 소스

2600 단어
Ubuntu에서 다운로드 공식 소스를 국내 소스로 교체
일부 원인으로 인하여 국내에서 소프트웨어 업데이트가 매우 느려서 국내 소스로 바꿀 수 있다
1. 원본 파일 백업
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

2. 파일 열기
vi /etc/apt/sources.list

3. 원본 파일의 내용에 새 주소를 추가하는 것을 주석한다
#   
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

또는 왕이운
#  163
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

청화원
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
4. 저장 종료
ESC  +  :  +  wq
5. 업데이트 소스
sudo apt-get update

6. 소프트웨어 업데이트
sudo apt-get dist-upgrade
sudo apt-get upgrade

좋은 웹페이지 즐겨찾기