Raspberry Pi setup
时间: 2016-12-05来源:OSCHINA
前景提要
setup
镜像下载和SD烧录
待补充
无显示器 安装
待补充
更换国内镜像源
默认的更新源 archive.raspberrypi.org,更新会很慢。需替换国内的镜像源。
中国科技大学开源镜像站 提供了raspbian的软件包镜像,国内的用户可以选择改用科大镜像站作为更新源。
科大镜像站官方已经提供了一份 帮助文档 ,用于指导用户如何使用科大镜像更新raspbian。 但这份文档是基于 wheezy 的,最新的jessie版可以参考本文。 具体做法
修改之前,最好先备份原始的配置文件。例如,使用如下命令将两个源配置文件拷贝到HOME目录。 cp /etc/apt/sources.list ~ cp /etc/apt/sources.d/raspi.list ~
或者直接在原来配置文件的基础上修改,但将原有的配置全部注释掉(使用#注释) 修改 source.list
更新后的/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
实际修改是,将mirrordirector.raspbian.org替换为mirrors.ustc.edu.cn/raspbian/ 修改 raspi.list
更新后的/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
实际修改是,将archive.raspberrypi.org替换为mirrors.ustc.edu.cn/archive.raspberrypi.org
上诉内容转自: http://xusiwei.github.io/post/2016/raspberry-pi-use-ustc-mirror/

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行