Skip to content

Commit f877499

Browse files
committed
doc: 树莓派安装操作系统
1 parent d4cda2d commit f877499

10 files changed

+35
-0
lines changed

.vitepress/config/theme.ts

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ export const themeConfig: DefaultTheme.Config = {
7272
},
7373
],
7474
},
75+
{
76+
text: '树莓派',
77+
activeMatch: '/raspberrypi/',
78+
link: '/raspberrypi/install-os/',
79+
},
7580
{
7681
text: 'SEO优化',
7782
activeMatch: '/seo/',
@@ -93,6 +98,7 @@ export const themeConfig: DefaultTheme.Config = {
9398
'/android/faq/': androidFaqSidebar(),
9499
'/seo/': getSidebar('seo'),
95100
'/linux/': getSidebar('linux'),
101+
'/raspberrypi/': getSidebar('raspberrypi'),
96102
// '/nestjs/faq': nestJsFaqSidebar(),
97103
'/nestjs/beginner': nestJsBeginnerSidebar(),
98104
'/nestjs/master': nestJsMasterSidebar(),
Loading

raspberrypi/install-os/image-1.png

663 KB
Loading

raspberrypi/install-os/image-2.png

485 KB
Loading

raspberrypi/install-os/image-3.png

511 KB
Loading

raspberrypi/install-os/image-4.png

999 KB
Loading

raspberrypi/install-os/image-5.png

943 KB
Loading

raspberrypi/install-os/image.png

721 KB
Loading

raspberrypi/install-os/index.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: "安装操作系统"
3+
date: "2024-06-10"
4+
categories:
5+
- "树莓派"
6+
tags:
7+
- "RaspberryPi"
8+
order: 1
9+
---
10+
树莓派能使用的操作系统挺多,不过还是从官网推荐的方式和渠道下载会比较好点,我是通过[Raspberry Pi Imager](https://www.raspberrypi.com/documentation/computers/getting-started.html#raspberry-pi-imager)直接写入SD卡的方式来安装,也比较方便快捷:
11+
![Raspberry Pi Imager](raspberry-pi-imager.png)
12+
## 下载Raspberry Pi Imager
13+
通过访问[下载Raspberry Pi Imager](https://www.raspberrypi.com/software/),选择自己合适的操作系统:
14+
![Download Raspberry Pi Imager](Download-Raspberry-Pi-Imager.png)
15+
## 写入OS到TF卡中
16+
分别选择自己相对应的树莓派版本,需要安装的操作系统,还有需要写入哪张卡,第一次写入需要下载系统,需要多点时间等待:
17+
![alt text](image.png)
18+
![alt text](image-1.png)
19+
![alt text](image-2.png)
20+
## 自定义系统配置信息
21+
如果像我没有使用外接键盘和显示器,直接通过SSH连接,需要先把一些WIFI信息预设进操作系统,之前是通过修改根目录的配置文件,但是新版本的系统是需要在写入之前使用**Raspberry Pi Imager**进行配置写入:
22+
![alt text](image-3.png)
23+
![alt text](image-4.png)
24+
![alt text](image-5.png)
25+
::: tip
26+
上面的一些截图,使用的都是树莓派官方文档中的,这里只是做个参考,基本是傻瓜无脑操作。很多时候树莓派出现一些奇奇怪怪的问题,要先检查电源供电是否存在问题,一定要用2.5A或者3A以上的5V电源。
27+
:::
28+
## 参考资料
29+
[Raspberry Pi Install an operating system](https://www.raspberrypi.com/documentation/computers/getting-started.html#install-an-operating-system)
38.3 KB
Loading

0 commit comments

Comments
 (0)