Raspberry Pie Raspberry Pi 3 using Aliyun mirror Cloud

Source: Internet
Author: User
Tags aliyun raspi

Ali Open Source Mirror provides a Raspbian package image, domestic users can choose to use the Ari as an update source. The latest Jessie version can refer to this article.

Specific approach

Before you modify, it is a good idea to back up the original configuration file. For example, use the following command to copy two source configuration files to the home directory.

Cp/etc/apt/sources.list ~
Cp/etc/apt/sources.list.d/raspi.list ~

or modify it directly on the basis of the original configuration file, but comment out all the original configuration (using the # Annotation).

Modify Sources.list

Updated/etc/apt/sources.list:

#deb Http://mirrordirector.raspbian.org/raspbian/jessie Main contrib non-free RPI
# uncomment line below then ' apt-get Update ' to enable ' apt-get source '
#deb-src Http://archive.raspbian.org/raspbian/jessie main contrib non-free RPI

# Use USTC Mirror:
Deb Http://mirrors.aliyun.com/raspbian/raspbian/jessie main contrib Non-free RPI

The actual modification is to replace the mirrordirector.raspbian.org with the mirrors.aliyun.com/raspbian/.

Modify Raspi.list

Updated/etc/apt/raspi.list:

#deb Http://archive.raspberrypi.org/debian/jessie Main UI
# uncomment line below then ' apt-get Update ' to enable ' apt-get source '
#deb-src Http://archive.raspberrypi.org/debian/jessie Main UI

# Use USTC Mirror:
Deb Http://mirrors.aliyun.com/debian/jessie main UI

The actual modification is to replace the archive.raspberrypi.org with the mirrors.aliyun.com.

Update

After you have replaced the software source, you need to update

sudo apt-get update

More mirror sources

#大连东软信息学院 (Northern users)
#deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPI
#deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPI

#中国科学技术大学
#deb http://mirrors.ustc.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPI
#deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPI

#清华大学
#deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPI
#deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPI

#重庆大学 (Midwest users)
#deb http://mirrors.cqu.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPI
#deb-src http://mirrors.cqu.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPI

#前面几个都是教育网的

#搜狐
#deb http://mirrors.sohu.com/raspbian/raspbian/wheezy Main contrib non-free RPI
#deb-src http://mirrors.sohu.com/raspbian/raspbian/wheezy main contrib non-free RPI

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.