1.配置国内源
sudo vi /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
deb-src https://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
deb-src https://mirrors.neusoft.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
2.更新软件
sudo apt update && sudo apt upgrade
3.扩展分区
安装好后,默认显示容量是小于实际容量的,需手动扩展文件系统:
sudo raspi-config
7 Advanced Options -> A1 Expand Filesystem -> Finish
4.解锁root用户
系统默认root用户是锁定状态,因此如需要使用root操作,需要解锁root:
# 重新设置root密码
sudo passwd root
# 解锁root账户
sudo passwd --unlock root
5.远程桌面连接设置
sudo apt-get purge tightvnc xrdp
sudo apt-get install tightvncserver xrdp
原文地址:https://www.cnblogs.com/HeCG95/p/11750056.html
时间: 2024-11-05 13:44:45