-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
82 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,28 +13,67 @@ raspios 的默认用户是 `pi`,密码是 `raspberry`,root 默认关闭。 | |
## 系统架构 | ||
|
||
- armhf | ||
- arm64 (Beta) | ||
- arm64 | ||
- x86 | ||
|
||
## 收录版本 | ||
|
||
最新的稳定版(bullseye) | ||
- bullseye | ||
- bookworm | ||
|
||
## 使用说明 | ||
|
||
目前本镜像包含如下内容: | ||
|
||
- imager: Raspberry Pi Imager 官方刻录器。 | ||
- raspios_arm64: Arm64 架构的 Raspberry Pi OS(Beta) | ||
- raspios_armhf: Armhf 架构的 Raspberry Pi OS | ||
- raspios_full_armhf: Armhf 架构的 Raspberry Pi | ||
OS,并包含官方推荐的软件 | ||
- raspios_lite_arm64: Arm64 架构的 Raspberry Pi OS(Beta,不含桌面) | ||
- raspios_lite_armhf: Armhf 架构的 Raspberry Pi OS(不含桌面) | ||
- rpd_x86: Raspberry Pi Desktop,用于 x86 架构的设备 | ||
- Raspberry_Pi_Education_Manual.pdf: 教学用树莓派帮助手册 | ||
|
||
需要安装 Raspberry Pi OS 时,一般下载 images 目录中的最新的即可,比如 | ||
arm64 的树莓派下载 | ||
<https://mirrors.ustc.edu.cn/raspberry-pi-os-images/raspios_lite_arm64/images/> | ||
中最新的 zip 压缩包即可,解压完 zip 压缩包后即可开始刻录。 | ||
imager | ||
|
||
: Raspberry Pi Imager 官方刻录器。 | ||
|
||
raspios_(arm64, armhf) | ||
|
||
: Raspberry Pi OS(含桌面) | ||
|
||
raspios_full_(arm64, armhf) | ||
|
||
: Raspberry Pi OS(含桌面,并包含官方推荐的软件) | ||
|
||
raspios_lite_(arm64, armhf) | ||
|
||
: Raspberry Pi OS(不含桌面) | ||
|
||
rpd_x86 | ||
|
||
: Raspberry Pi Desktop,用于 x86 架构的设备 | ||
|
||
Raspberry_Pi_Education_Manual.pdf | ||
|
||
: 教学用树莓派帮助手册 | ||
|
||
需要安装 Raspberry Pi OS 时,一般下载 images 目录中的最新的即可,比如 arm64 的树莓派下载 <https://mirrors.ustc.edu.cn/raspberry-pi-os-images/raspios_lite_arm64/images/> 中最新的 zip 压缩包即可,解压完 zip 压缩包后即可开始刻录。 | ||
|
||
!!! note | ||
|
||
对于刚接触 Linux 的同学,使用 `imager` 也许会是个节省时间的好办法。 | ||
|
||
关于使用 armhf (32 bit) 还是 arm64 (64 bit) 版本,可以参考 [Raspberry Pi OS (64-bit)](https://www.raspberrypi.com/news/raspberry-pi-os-64-bit/)。tl;dr: | ||
|
||
- 无特殊兼容需求的情况下,推荐使用 arm64 | ||
- 对于 4GB 及以上内存的设备,推荐使用 arm64 | ||
- 对于古早设备 (Rpi 1, 2, Zero), 请使用 armhf | ||
|
||
## 相关链接 | ||
|
||
- 树莓派链接 | ||
|
||
官方主页 | ||
|
||
: <https://www.raspberrypi.org/> | ||
|
||
文档 | ||
|
||
: <https://www.raspberrypi.org/documentation/> | ||
|
||
- 其他镜像帮助 | ||
|
||
- [Raspbian 镜像使用帮助](raspbian.md) | ||
- [Raspberrypi 镜像使用帮助](raspberrypi.md) | ||
Check failure on line 79 in docs/raspberry-pi-os-images.md GitHub Actions / buildFiles should end with a single newline character
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,10 +66,17 @@ sudo sed \ | |
|
||
## 相关链接 | ||
|
||
官方主页 | ||
- 树莓派链接 | ||
|
||
: <https://www.raspberrypi.org/> | ||
官方主页 | ||
|
||
文档 | ||
: <https://www.raspberrypi.org/> | ||
|
||
: <https://www.raspberrypi.org/documentation/> | ||
文档 | ||
|
||
: <https://www.raspberrypi.org/documentation/> | ||
|
||
- 其他镜像帮助 | ||
|
||
- [Raspberry Pi OS 镜像使用帮助](raspberry-pi-os-images.md) | ||
- [Raspbian 镜像使用帮助](raspbian.md) | ||
Check failure on line 82 in docs/raspberrypi.md GitHub Actions / buildFiles should end with a single newline character
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,11 @@ armhf | |
|
||
操作前请做好相应备份 | ||
|
||
将 `/etc/apt/sources.list` | ||
文件中默认的源地址 `http://raspbian.raspberrypi.org/` 替换为 | ||
`http://mirrors.ustc.edu.cn/raspbian/` 即可。 | ||
!!! note | ||
|
||
首先用 `uname -m` 确认系统架构, 如果为 `aarch64`, 可直接参考 [Debian](debian.md) 镜像使用帮助。 | ||
|
||
将 `/etc/apt/sources.list` 文件中默认的源地址 `http://raspbian.raspberrypi.org/` 替换为 `http://mirrors.ustc.edu.cn/raspbian/` 即可。 | ||
|
||
raspbian 2018-04-19 之后的镜像默认源已经更改,用如下命令替换: | ||
|
||
|
@@ -49,29 +51,12 @@ raspbian 2018-04-19 之后的镜像默认源已经更改,用如下命令替换 | |
``` | ||
{% endfor %} | ||
|
||
Arm64 架构的 Raspberry Pi OS 仍处于 beta 状态,本镜像上游亦不含此架构。对于 arm64 的 Raspberry Pi OS,可以直接使用 arm64 Debian 的源: | ||
|
||
{% for release in debian_releases %} | ||
|
||
{% set debian_security = release.codename + "-security" %} | ||
{% if release.version < 11 %} | ||
{% set debian_security = release.codename + "/updates" %} | ||
{% endif %} | ||
=== "Raspbian {{ release.codename }}" | ||
编辑此文件后,请使用 `sudo apt-get update` 命令,更新软件索引。 | ||
|
||
```debsources title="/etc/apt/sources.list" | ||
deb https://mirrors.ustc.edu.cn/debian/ {{ release.codename }} main contrib non-free | ||
# deb-src http://mirrors.ustc.edu.cn/debian {{ release.codename }} main contrib non-free | ||
deb https://mirrors.ustc.edu.cn/debian/ {{ release.codename }}-updates main contrib non-free | ||
# deb-src http://mirrors.ustc.edu.cn/debian {{ release.codename }}-updates main contrib non-free | ||
deb https://mirrors.ustc.edu.cn/debian-security {{ debian_security }} main contrib non-free | ||
# deb-src http://mirrors.ustc.edu.cn/debian-security/ {{ debian_security }}-security main non-free contrib | ||
``` | ||
{% endfor %} | ||
|
||
Check failure on line 56 in docs/raspbian.md GitHub Actions / buildMultiple consecutive blank lines
|
||
编辑此文件后,请使用 `sudo apt-get update` 命令,更新软件索引。 | ||
!!! note | ||
|
||
同时也可能需要更改 archive.raspberrypi.org 源,请参考 [raspberrypi](raspberrypi.md)。 | ||
同时也可能需要更改 `/etc/apt/sources.list.d/raspi.list` 的 archive.raspberrypi.org 源,请参考 [raspberrypi](raspberrypi.md)。 | ||
|
||
## 相关链接 | ||
|
||
|
@@ -95,10 +80,15 @@ Arm64 架构的 Raspberry Pi OS 仍处于 beta 状态,本镜像上游亦不含 | |
|
||
- 树莓派链接 | ||
|
||
树莓派基金会主页 | ||
官方主页 | ||
|
||
: <https://www.raspberrypi.org/> | ||
|
||
树莓派基金会论坛 Raspberry Pi OS 版块 | ||
文档 | ||
|
||
: <https://www.raspberrypi.org/documentation/> | ||
|
||
- 其他镜像帮助 | ||
|
||
: <https://www.raspberrypi.org/forums/viewforum.php?f=66> | ||
- [Raspberry Pi OS 镜像使用帮助](raspberry-pi-os-images.md) | ||
- [Raspberrypi 镜像使用帮助](raspberrypi.md) |