In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to replace the domestic mirror source in Raspberry Pi, Xiaobian thinks it is quite practical, so share it with you for a reference, I hope you can gain something after reading this article.
Replace the domestic mirror source
The default update source is archive.raspberrypi.org, and updates are slow. You need to replace the domestic mirror source.
The USTC Open Source Mirror provides Raspbian package mirrors, and domestic users can choose to switch to the USTC Mirror as an update source.
The official website of the University of Science and Technology has provided a help document to guide users on how to update raspbian using the University of Science and Technology mirror. But this documentation is wheezy based, and the latest version of jessie can be found here.
specific practices
It is best to back up the original configuration file before modifying it. 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.d/raspi.list ~
Or modify the original configuration file directly, but comment out the original configuration (use #comment)
Change source.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.ustc.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi
The actual modification is to replace mirrordirector.raspbian.org with mirrors.ustc.edu.cn/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.ustc.edu.cn/archive.raspberrypi.org/debian/ jessie main ui
The actual modification is to replace archive.raspberrypi.org with mirrors.ustc.edu.cn/archive.raspberrypi.org
About "Raspberry Pi how to change the domestic mirror source" this article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.