硬件: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
注意:系统版本号为 Ubuntu 19.10,对应代号为 eoan
注意:
系统版本号为 Ubuntu 20.04,对应代号为 focal

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

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

sudo apt-get install xubuntu-desktop

6. 重启系统

sudo reboot

异常情况

如果 #5 apt-get 安装出错如下,可以恢复为 ubuntu 官方源进行安装。

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies:

参考资料

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

最新文章

  1. C#设计模式-备忘录模式
  2. KMP专题
  3. Python爬虫 网页图片
  4. 如何生成可变表头的excel
  5. 最近这么火的iOS视频直播
  6. C#爬页面总结
  7. [ CodeVS冲杯之路 ] P1197
  8. Memcache+Tomcat9集群实现session共享(非jar式配置, 手动编写Memcache客户端)
  9. 重置mysql管理员密码
  10. C++ 载入dll
  11. java表达式陷阱
  12. Spark-GraphxAPI学习笔记
  13. Ubuntu各个版本支持时间
  14. 【算法系列学习】[kuangbin带你飞]专题十二 基础DP1 B - Ignatius and the Princess IV
  15. HTTP/2 简介
  16. Python入门 (一)
  17. 自学Python5.2-类和对象概念
  18. tomcat源码阅读之集群
  19. 【ARTS】01_06_左耳听风-20181217~1223
  20. php 字符串中的\n换行符无效、不能换行的解决方法

热门文章

  1. 关于kmp算法
  2. Spring系列(2):Spring框架
  3. Java API设计原则清单
  4. eclipse无法访问sun.misc.Unsafe类的解决办法
  5. dubbo中的Filter链原理及应用
  6. Python快速入门教程【转】
  7. Linux文件系统被占用,磁盘使用量与实际不一致【转】
  8. Shared variable in python's multiprocessing
  9. pc端常用电脑屏幕 ((响应式PC端媒体查询)电脑屏幕分辨率尺寸大全)
  10. 基于Vue SEO的四种方案