"Ubuntu" modifies the Ubuntu Apt-get source as a method of the domestic mirror source

Source: Internet
Author: User

"Ubuntu" modifies the Ubuntu Apt-get source as a method of the domestic mirror sourceJanuary 15, 2018 15:34:11Hits: 6488

1. Original file backup

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. Edit the source list file

sudo vim /etc/apt/sources.list

3, delete the original list, add the following (Zhong Ke mirror source)

1Deb http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse2Deb http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse3Deb http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse4Deb http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse5Deb http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse6DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse7DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse8DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse9DEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverseTenDEB-SRC http://mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse

4. Operationsudo apt-get update

"Ubuntu" modifies the Ubuntu Apt-get source as a method of the domestic mirror 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.