Raspberry Pi Raspberry Pi replacement domestic source (support for different distributions)

Source: Internet
Author: User
Tags aliyun
Preface

The Raspberry Pi official has provided an image list: Http://www.raspbian.org/RaspbianMirrors, but because of the server in foreign countries, we install and update the software is always not satisfactory speed, and sometimes a time-out connection caused the installation failure.
So there are some mirror stations, such as Ali Open source image, NetEase open source image, China University of Science and technology open source image, and so on, the purpose of building an open source image is to promote the value of free software, improve the free software community culture, promote free software in the domestic application. Body

We edit the/etc/apt/sources.list file to change our source image source backup source files

sudo cp/etc/apt/sources.list/etc/apt/sources.list.bak #备份为 sources.list.bak Modify source.list file

We recommend using the Nano Editor to modify this file, and it is easier to get started than the VI editor and to be prompted throughout the process. ① Modifying source files for Wheezy (Legacy) Systems

sudo nano/etc/apt/sources.list #编辑sources. list file
Go to the edit screen, delete the original content or use the # comment out the original source, add the source content below
Deb Http://mirrors.aliyun.com/raspbian/raspbian/wheezy main Non-free contrib
DEB-SRC Http://mirrors.aliyun.com/raspbian/raspbian/wheezy main Non-free contrib
Then save the file with Ctrl+o carriage return, ctrl+x exit the editor ② Modify the source file for the Jessie (new) system

sudo nano/etc/apt/sources.list #编辑sources. list file
Enter the edit screen, delete the original content or use the # comment out the original source, add the following source content
Deb/http Mirrors.aliyun.com/raspbian/raspbian/jessie Main contrib non-free RPI
Deb-src Http://mirrors.aliyun.com/raspbian /raspbian/jessie Main contrib non-free RPI
then save the file with Ctrl+o carriage return, ctrl+x exit editor

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.