树莓派3B 4B安装bruster bullseye bookworm标准化流程

本文档详细介绍了如何在树莓派3B/4B上安装BrusterBullseye系统,包括下载镜像、使用Etcher烧录、初始化设置SSH和VNC、连接WiFi、替换国内源等步骤,以提高系统安装效率和后续使用体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

树莓派3B 4B安装bruster bullseye


由于之前的树莓派操作过太多东西,内部库很复杂配置ROS也出了很多未知问题,所以重新安装raspberry buster bullseye系统,以此篇文章来记录。

下载img

国外镜像由于某些原因下载非常慢,所以同时提供了国内镜像供选择,下载会快很多。

如果内存大于4GB建议选择64位系统。

  • raspios_full_armhf 32位官方系统 对应debian bookworm
    Index of /raspios_full_armhf/images/raspios_full_armhf-2023-12-06
  • raspios_full_arm64 64位官方系统 对应debian bookworm
    Index of /raspios_full_arm64/images/raspios_full_arm64-2023-12-06
  • raspios_oldstable_full_armhf 32位历史官方系统 对应debian bullseye
    Index of /raspios_oldstable_full_armhf/images/raspios_oldstable_full_armhf-2023-12-06
  • raspios_oldstable_full_arm64 64位历史官方系统 对应debian bullseye
    Index of /raspios_oldstable_full_arm64/images/raspios_oldstable_full_arm64-2023-12-06
  • raspios_oldstable_armhf 32位历史官方系统 对应debian buster
    Index of /raspios_oldstable_armhf/images/raspios_oldstable_armhf-2023-05-03
  • raspios_arm64 64位历史官方系统 对应debian buster
    Index of /raspios_arm64/images/raspios_arm64-2021-05-28

web引导界面:
https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit

官方下载地址:
https://downloads.raspberrypi.com/

在这里插入图片描述

国内镜像有下边两个可以下载img镜像:

  1. 上海交大镜像站
  2. 清华大学镜像站

下载方式有不同,上交链接打开后如下,我选择的是raspbian_full下载,具体链接是

2020-02-13-raspbian-buster-full.zip

在这里插入图片描述

清华下载方式如下,具体链接是:

https://mirrors.tuna.tsinghua.edu.cn/raspberry-pi-os-images/raspios_full_armhf/images/raspios_full_armhf-2020-12-04/2020-12-02-raspios-buster-armhf-full.zip

在这里插入图片描述

在这里插入图片描述

烧录

我使用的是Etcher,下载链接是:

https://github.com/balena-io/etcher/releases/download/v1.5.45/balenaEtcher-Setup-1.5.45.exe

在这里插入图片描述

安装完成后,装入树莓派即可。

没有键盘的初始化

如果你有鼠标,显示器和一台笔记本电脑就可以使用我的方法,先把鼠标接上树莓派,

开启ssh和vnc,如下操作,打开ssh和vnc权限:

在这里插入图片描述

连接wifi

在这里插入图片描述

点击右上角wifi图标选择目标wifi链接,会弹出输入密码,如果必须要输密码,我是通过从系统中文件名里复制出来的,连上后再右上角有显示ip地址,这样同一网段的笔记本就可以用vnc远程连接树莓派了。

你也可以用手机开一个热点,用笔记本和树莓派都连上这个热点,连上热点之后在手机上可以看到树莓派的ip。

根据IP连接vnc

初始账号密码如下所示:

账号:pi

密码:raspberry

在这里插入图片描述

替换国内源

设置sources.list

这里使用的是阿里云

sudo vim /etc/apt/sources.list

#注释所有后修改为
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

里边的bullseye根据你安装的版本来修改为buster、bookworm等

修改raspi.list

$ cat /etc/apt/sources.list.d/raspi.list
#deb http://archive.raspberrypi.org/debian/ bullseye main
# 增加下边这行屏蔽其它
deb http://mirrors.aliyun.com/raspberrypi/ bullseye main 
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ bullseye main

更新软件源:

sudo apt-get update

这样之后你就可以通过笔记本来操作树莓派了。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

机器人梦想家

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值