Ubuntu16.04 Change Ali

Source: Internet
Author: User
Tags aliyun

Domestic Ali speed is relatively fast, Beijing Unicom download extremely fast. Newer and more stable

1. Backup

Cp/etc/apt/source.list/etc/apt/source.list.bak

2. Edit the source file

sudo vim/etc/apt/source.list

(DD is delete whole line, I is inserted, note sudo)

3. Insert Ali

DEB-SRC http://archive. Ubuntu. Com/ubuntu xenial Main restricted#Added by Software-properties Deb Http://mirrors. Aliyun. com/ubuntu/xenial main restricted deb-src http://mirrors. Aliyun. com/ubuntu/xenial Main restricted Multiverse universe#Added by Software-properties Deb Http://mirrors. Aliyun. com/ubuntu/xenial-updates main restricted deb-src http://mirrors. Aliyun. com/ubuntu/xenial-updates Main restricted Multiverse universe#Added by Software-properties Deb Http://mirrors. Aliyun. com/ubuntu/xenial Universe Deb Http://mirrors. Aliyun. com/ubuntu/xenial-updates Universe Deb Http://mirrors. Aliyun. com/ubuntu/xenial Multiverse Deb Http://mirrors. Aliyun. com/ubuntu/xenial-updates Multiverse Deb Http://mirrors. Aliyun. com/ubuntu/xenial-backports Main Restricted universe multiverse deb-src http://mirrors. Aliyun. com/ubuntu/xenial-backports Main Restricted universe multiverse#Added by Software-properties Deb Http://archive. Canonical. Com/ubuntu xenial partner Deb-src http://archive Canonical. Com/ubuntu xenial partnerDeb Http://mirrors. Aliyun. com/ubuntu/xenial-security main restricted deb-src http://mirrors. Aliyun. com /ubuntu/xenial-security main restricted Multiverse universe #Added by Software-properties Deb Http://mirrors. Aliyun. com/ubuntu/xenial-security Universe Deb http://mirrors Aliyun. com/ubuntu/xenial-security Multiverse

4. Save Wq, launch

5.apt-get Update

Ubuntu16.04 Change Ali

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.