拿到了树莓派3后,经过短暂的兴奋,终于开始实战安装OS了。以下步骤基于官方的文章https://www.raspberrypi.org/learning/software-guide/quickstart/,选择安装的是RASPBIAN
1. 格式化micro SD卡
前往网站https://www.sdcard.org/downloads/formatter_4/index.html 下载SD卡格式化工具,安装并格式化SD卡
2. 下载镜像文件
通过官网的链接下载RASPBIAN镜像文件,把镜像文件*.img从zip压缩包解压出来。
https://downloads.raspberrypi.org/raspbian_latest
3. 下载镜像安装软件
通过http://etcher.io 下载并安装Etcher SD 卡镜像安装工具。
4. 安装镜像文件到micro SD卡
运行Etcher软件,选择镜像,然后选择磁盘,然后就是耐心等待。
![安装镜像动图]
(https://www.raspberrypi.org/learning/software-guide/images/etcher.gif)
5. 接上电源,启动
6. 更新apt-get镜像
因为在墙内,所以默认的apt-get镜像是用不上的,必须改成靠谱的国内镜像。以下链接是官网列出的各国镜像。
http://www.raspbian.org/RaspbianMirrors
- 编辑/etc/apt/sources.list文件。删除原文件所有内容,用以下内容取代:
deb https://archive.raspbian.org/raspbian/ stretch main contrib non-free
deb-src https://archive.raspbian.org/raspbian/ stretch main contrib non-free
- 编辑/etc/apt/source.list.d/raspi.source
deb https://archive.raspberrypi.org/debian/ stretch main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb-src https://archive.raspberrypi.org/debian/ stretch main ui
- 编辑此两个文件后,请使用sudo apt-get update命令,更新软件列表。
7. 安装常用软件
VNC Server
(TBD)
VIM
(TBD)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)