13
2024
11

N1 安装armbian

参考https://www.hicairo.com/post/75.html

下载地址https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_save_2024.11

接上一步,使用 root 用户及密码登录 armbian 后,在 bash 下执行 armbian-install 命令。按照提示输入“101”,选择文件系统输入“1”(选择ext4),这时开始将 U 盘中的 armbian 系统 copy 到 emmc ,整个过程大概需要 2~3 分钟,等待文件 copy 完后,按照提示输入 poweroff 命令关机,然后移除盒子上的 U 盘,给盒子重新加电后会使用 emmc 进入 armbian 系统,到此刷机工作就完成了。


改源

apt install apt-transport-https ca-certificates

nano /etc/apt/sources.list

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors4.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src https://mirrors4.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free

deb https://mirrors4.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
# deb-src https://mirrors4.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free

deb https://mirrors4.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors4.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
deb https://security.debian.org/debian-security bullseye-security main contrib non-free
# deb-src https://security.debian.org/debian-security bullseye-security main contrib non-free
您需要将目录/var/cache/man/的所有者设置为 usr man。这是命令:
chown -R man: /var/cache/man/ 
并为了安全起见,为所有目录设置权限 755(所有者 RWX、组 RX、其他 RX):
chmod -R 755 /var/cache/man/


« 上一篇 下一篇 »