• 树莓派更换镜像源


    软件源:

    先换掉更新源,加速安装。

        PS:之前因为没有注意到版本的问题 一直用的wheezy和jessis 后来才发现自己树莓派版本是stretch 

        一定要注意这个坑    

        查看自己树莓派的版本:lsb_release -c

        Codename: stretch

    sudo nano /etc/apt/sources.list

    ```

    deb http://mirrors.aliyun.com/raspbian/raspbian/ stretch main non-free contrib

    deb-src http://mirrors.aliyun.com/raspbian/raspbian/ stretch main non-free contrib

     

    deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi

    deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi

    deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi

    deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi

     

    ```

    wheezy 

    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

    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

    更多更新源在此;

    http://www.raspbian.org/RaspbianMirrors

  • 相关阅读:
    常用的排序方法
    mongoose 操作
    formidable使用
    cors跨域(支持cookie跨域) node后台 express
    mongoose Schema写法
    vue生命周期钩子 (mounted 加载数据没有缓存用 activated 配合keep-alive组件)
    vue路由跳转 页面回到顶部
    RESTful风格的路由设计
    router-link 绑定事件不生效
    axios的Content-Type类型导致后台无法解析数据
  • 原文地址:https://www.cnblogs.com/zhaocundang/p/5576113.html
Copyright © 2020-2023  润新知