初步上手树莓派
本文最后更新于:2023年1月8日 中午
初步上手的日志,或要点记录
安装系统到SD卡
然后进行配置,略过
可以在此提前配置用户,可以在后面直接进行ssh;也可以配置WiFi连接
更换国内软件源
sudo su
登录到root用户,然后编辑 /etc/apt/sources.list
可以用vi或者nano
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
一些补充资料
- 树莓派一般需要5V电压,最好是3A电流的电源适配器