Armbian 安装并改为国内软件源

[](https://whwtf.gitee.io/Linux/SomePi/armbiansource.html#Armbian%E5%AE%89%E8%A3%85)Armbian安装 从 armbian官网 下载对应的系统镜像文件,用烧卡软件写入到TF卡中。个人认为 Etcher 比较好用。 插入卡,通电,等待几分钟就可以SSH连接了。第一次用 root

发布时间:Thu Feb 05 2026 01:39:58 GMT+0800 (Hong Kong Standard Time)分类:杂项记录

![](https://gitee.com/whwtf/upic/raw/master/uPic/armbian-config2020-09-25.png)

![](https://gitee.com/whwtf/upic/raw/master/uPic/soft2020-09-25.png)

[](https://whwtf.gitee.io/Linux/SomePi/armbiansource.html#Armbian%E5%AE%89%E8%A3%85)Armbian安装

从 [armbian官网](https://www.armbian.com/) 下载对应的系统镜像文件,用烧卡软件写入到TF卡中。个人认为 [Etcher](https://www.balena.io/etcher) 比较好用。
![](https://gitee.com/whwtf/upic/raw/master/uPic/etcher2020-09-25.png)
插入卡,通电,等待几分钟就可以SSH连接了。第一次用 root@1234 登录,首次进入系统需要更改root密码,新建用户。然后重启,用新建的用户登录,使用命令

1

$ sudo armbian-config

对系统进行设置和按需安装第三方软件。

[](https://whwtf.gitee.io/Linux/SomePi/armbiansource.html#%E6%9B%B4%E6%94%B9apt%E6%BA%90%E4%B8%BA%E5%9B%BD%E5%86%85)更改apt源为国内

[Armbian](https://www.armbian.com/) 默认软件源为 [Debian](https://www.debian.org/) 官方的,使用起来速度比较慢,可以更改为国内源加快更新及安装速度。
国内Linux源有很多,通常使用 [清华大学](https://mirrors.tuna.tsinghua.edu.cn/) 的,有详细的使用文档,还有各种系统的国内下载镜像,很方便。
首先:

$ sudo apt install apt-transport-https ca-certificates

[Armbian](https://www.armbian.com/) 更改源的时候需要改两个地方:

$ sudo nano /etc/apt/sources.list

将里面内容全部注释掉,添加:

\# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释,“buster”根据版本更改。
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
\# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
\# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
\# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
\# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free

然后还有一个地方需要更改,是Armbian自身的内容更新源

1

$ sudo nano /etc/apt/sources.list.d/armbian.list

注释掉原来内容,添加:

1
2

“buster”根据版本更改
deb http://mirrors.tuna.tsinghua.edu.cn/armbian/ buster main buster-utils buster-desktop

之后就可以愉快的

$ sudo apt update
$ sudo apt upgrade
or
$ sudo apt dist-upgrade

如需交互式阅读、购买或评论,请打开站内完整版页面。