Ubuntu configuration apt-get Download source

Source: Internet
Author: User

Method:

1, modify the source address:
cp /etc/apt/sources.list /etc/apt/sources.list.bak
vim /etc/apt/sources.list

Add the following content (Zhong ke):

deb http://mirrors.ustc.edu.cn/ubuntu/precise-updates main restricted
DEB-SRC/http Mirrors.ustc.edu.cn/ubuntu/precise-updates main restricted
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise Universe
Deb-src http://mirrors.ustc.edu.cn/ubuntu/precise Universe
Deb http://mirrors.ustc.edu.cn/ubuntu/ Precise-updates Universe
deb-src http://mirrors.ustc.edu.cn/ubuntu/precise-updates Universe
Deb/http Mirrors.ustc.edu.cn/ubuntu/precise Multiverse
Deb-src http://mirrors.ustc.edu.cn/ubuntu/precise Multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-updates Multiverse
Deb-src http://mirrors.ustc.edu.cn/ubuntu/ Precise-updates Multiverse
Deb Http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted Universe Multiverse
Deb-src http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted universe Multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

Relatively fast source:

Sohu Source:
deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted
deb http://mirrors.sohu.com/ubuntu/ precise universe
deb-src http://mirrors.sohu.com/ubuntu/ precise universe
deb http://mirrors.sohu.com/ubuntu/ precise-updates universe
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe
deb http://mirrors.sohu.com/ubuntu/ precise multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse

NetEase Source:

Deb http://mirrors.163.com/ubuntu/precise-updates main restricted
Deb-src http://mirrors.163.com/ Ubuntu/precise-updates main restricted
Deb Http://mirrors.163.com/ubuntu/precise Universe
Deb-src/http/ Mirrors.163.com/ubuntu/precise Universe
Deb Http://mirrors.163.com/ubuntu/precise-updates universe
Deb-src Http://mirrors.163.com/ubuntu/precise-updates Universe
Deb Http://mirrors.163.com/ubuntu/precise Multiverse
Deb-src http://mirrors.163.com/ubuntu/precise Multiverse
Deb Http://mirrors.163.com/ubuntu/precise-updates Multiverse
Deb-src http://mirrors.163.com/ubuntu/precise-updates Multiverse
Deb http://mirrors.163.com/ Ubuntu/precise-backports main restricted universe multiverse
Deb-src http://mirrors.163.com/ubuntu/ Precise-backports main restricted universe Multiverse

Update to see the speed:

sudo apt-get update
sudo apt-get upgrade

This article is from the "Operation and maintenance House (Q Group: 1991706)" blog, please be sure to keep this source http://304076020.blog.51cto.com/7503470/1566328

Ubuntu configuration apt-get Download source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.