1 Star 0 Fork 0

huryer / RaspberryPi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003_开源软件镜像站加速.md 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
zengjf 提交于 2021-01-31 07:55 . usb/mirror

开源软件镜像站加速

时间很宝贵,只介绍apt、pip镜像站,其他可自行扩展

一、apt镜像站

二、使用apt镜像站加速

  • uname -a
  • sudo cat /etc/apt/sources.list
    deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi
    deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib rpi
    
    deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui

三、pip镜像站

四、使用pip镜像站加速

  • 配置镜像站:
  • 超时timeout时间修改,下载软件,慢一点也得下,没办法
    [global]
    timeout = 600
    index-url = https://pypi.tuna.tsinghua.edu.cn/simple
    extra-index-url = https://pypi.tuna.tsinghua.edu.cn/simple
1
https://gitee.com/huryer/RaspberryPi.git
git@gitee.com:huryer/RaspberryPi.git
huryer
RaspberryPi
RaspberryPi
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891