树莓派4B - 初始化环境
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
相关推荐
LeeHDsniper 2020-11-05
橄榄 2020-11-03
wanshiyingg 2020-09-29
andonliu 2020-09-03
嵌入式开发爱好者 2020-08-28
lu00kill 2020-08-17
tianyayi 2020-08-16
LIEVEZ 2020-08-09
ohhardtoname 2020-07-25
LeeHDsniper 2020-07-19
shenxiuwen 2020-07-16
wzxxtt0 2020-06-25
mattraynor 2020-06-25
咏月东南 2020-06-10
wangz 2020-06-03
wanxuncpx 2020-06-01
tianyayi 2020-05-18
wanxuncpx 2020-05-15
mattraynor 2020-05-12
wzxxtt0 2020-05-12
LIEVEZ 2020-05-04
mattraynor 2020-05-01
LIEVEZ 2020-05-01
LIEVEZ 2020-05-01
LowisLucifer 2020-04-23
OathKeeper 2020-04-22
zcabcd 2020-04-18
wanxuncpx 2020-04-16
returnspace 2020-04-16
mattraynor 2020-04-14
tianyayi 2020-03-28
clamzxf 2020-03-28
Summer的小屋 2020-03-26
lu00kill 2020-03-17
yuancr 2020-03-04
wzxxtt0 2020-02-21
xinhao 2020-02-20
LIEVEZ 2020-02-17
wzxxtt0 2020-02-15
zhufu 2020-02-10