树莓派OS环境搭建

树莓派OS环境搭建

硬件设备:树莓派5、网线、SD卡

镜像烧入

官网下载烧入上位机

https://www.raspberrypi.com/software/

PC插入sd卡

请添加图片描述

没有miniHDMI转HDMI记得勾选预装ssh

安装vnc

树莓派端

开启树莓派的VNC服务

sudo raspi-config

进入GUI交互

请添加图片描述
请添加图片描述
请添加图片描述

PC端

安装vnc windows服务

https://www.realvnc.com/en/connect/download/viewer/

更换树莓派os apt源

都不使用HTTPS

修改 raspberrypi

进入清华软件源地址

https://mirrors.tuna.tsinghua.edu.cn/help/raspberrypi/

复制源链接

deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ bookworm main

添加至树莓派内部list(将原来的源注释)

/etc/apt/sources.list.d/raspi.list
修改 raspbian

进入清华软件源地址(这里换成浙大的源)

https://mirrors.tuna.tsinghua.edu.cn/help/raspbian/

根据系统架构选择源码源

uname -m

进入对应架构的网址(pi5为aarch64),记得选对应depin版本(12(bookworm)),不使用使用 DEB822 格式

https://mirrors.tuna.tsinghua.edu.cn/help/debian/

复制源链接

deb https://mirrors.zju.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.zju.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.zju.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.zju.edu.cn/debian-security/ bookworm-security main contrib non-free non-free-firmware

添加至树莓派内部list(将原来的源注释)

/etc/apt/sources.list
更新源和软件
sudo apt update
sudo apt upgrade -y
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值