[Linux] 树莓派 4B 安装 Ubuntu 19.10 (Eoan Ermine) IOT 版

硬件:Raspberry Pi 4B
系统:Ubuntu 19.10 (Eoan Ermine) for IOT
官网:https://ubuntu.com/download/iot/raspberry-pi

配置步骤

1. 下载系统镜像
http://cdimage.ubuntu.com/releases/19.10/release/ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz

2. 烧录至SD卡进行系统安装

3. 系统登陆
默认账号:ubuntu
默认密码:ubuntu

4. 更换镜像源

4.1 备份 apt 源文件

sudo cp -p /etc/apt/sources.list /etc/apt/sources.list.bak

4.2 编辑 apt 源文件,更新为国内镜像源(注意:路径节点不是 ubuntu,而是 ubuntu-ports

sudo nano /etc/apt/sources.list
#阿里云源
deb https://mirrors.aliyun.com/ubuntu-ports/ disco main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ disco main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu-ports/ disco-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ disco-security main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu-ports/ disco-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ disco-updates main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu-ports/ disco-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ disco-backports main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu-ports/ disco-proposed main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ disco-proposed main restricted universe multiverse

#中科大源
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ disco main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ disco main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ disco-proposed main restricted universe multiverse

5. 安装桌面环境(可选择:xubuntu-desktop、lubuntu-desktop、kubuntu-desktop

sudo apt-get install xubuntu-desktop

6. 重启系统 

reboot

7. 安装 Docker

扫描二维码关注公众号,回复: 7506000 查看本文章
sudo apt install docker.io

参考资料

https://ubuntu.com/download/iot
https://opsx.alibaba.com/mirror
https://mirrors.ustc.edu.cn/

猜你喜欢

转载自www.cnblogs.com/jinzesudawei/p/11701669.html