硬件:Raspberry Pi 4B
系统:Ubuntu 21.04 for IOT
官网:https://ubuntu.com/download/raspberry-pi
配置步骤
1. 下载系统镜像
2. 烧录至SD卡进行系统安装
3. 系统登陆
默认账号:ubuntu
默认密码:ubuntu
4. 更换镜像源
4.1 备份 apt 源文件
sudo cp -p /etc/apt/sources.list /etc/apt/sources.list.bak
4.2 编辑 apt 源文件,更新为国内镜像源
sudo nano /etc/apt/sources.list
#阿里云源 deb http://mirrors.aliyun.com/ubuntu-ports eoan main restricted deb http://mirrors.aliyun.com/ubuntu-ports eoan-updates main restricted deb http://mirrors.aliyun.com/ubuntu-ports eoan universe deb http://mirrors.aliyun.com/ubuntu-ports eoan-updates universe deb http://mirrors.aliyun.com/ubuntu-ports eoan multiverse deb http://mirrors.aliyun.com/ubuntu-ports eoan-updates multiverse deb http://mirrors.aliyun.com/ubuntu-ports eoan-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu-ports eoan-security main restricted deb http://mirrors.aliyun.com/ubuntu-ports eoan-security universe deb http://mirrors.aliyun.com/ubuntu-ports eoan-security multiverse
sudo apt-get upgrade
5. 安装桌面环境(可选择:xubuntu-desktop、lubuntu-desktop、kubuntu-desktop)
sudo apt-get install xubuntu-desktop
6. 重启系统
sudo reboot